<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
{x: "Start", value: 7233},
{x: "Jan", value: 2268},
{x: "Feb", value: 1129},
{x: "Mar", value: -1470},
{x: "Apr", value: -376},
{x: "May", value: 1215},
{x: "Jun", value: 212},
{x: "Jul", value: 902},
{x: "Aug", value: 1188},
];
// create a waterfall chart
var chart = anychart.waterfall();
// create a series and set the data
var series = chart.waterfall(data);
// set the chart title
chart.title("BitCoin Highest Price in 2020");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});