JSFiddle - React, Tailwind, and code Playground

by highchartspython

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="my_container"></div>

JavaScript

document.addEventListener('DOMContentLoaded', function() {
Highcharts.chart('my_container',
{
  series: [{
  data: [[1672531200000000000,
10],
[1672617600000000000,
20],
[1672704000000000000,
15],
[1672790400000000000,
18]],
  name: 'closing1',
  type: 'line'
},
{
  data: [[1672531200000000000,
12],
[1672617600000000000,
31],
[1672704000000000000,
45],
[1672790400000000000,
21]],
  name: 'closing2',
  type: 'line'
}],
  title: {
  text: 'Ticker'
},
  xAxis: {
  title: {
  text: 'Date'
},
  type: 'datetime'
},
  yAxis: {
  title: {
  text: 'Closing Price'
}
}
},
);
});