JSFiddle - React, Tailwind, and code Playground
by m4xout
HTML
<div id="container">
</div>
JavaScript
// create data
var data = [
{x: "January", value: 10000},
{x: "February", value: 12000},
{x: "March", value: 18000},
{x: "April", value: 11000},
{x: "May", value: 9000}
];
// create a chart
chart = anychart.line();
// create a spline series and set the data
var series = chart.spline(data);
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();