<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create a categorized chart
var chart = anychart.cartesian();
// data
var data = [
["2000", 1100, 1],
["2001", 880, 2],
["2002", 1100, 5],
["2003", 1500, 3],
["2004", 921, 3],
["2005", 1000, 2],
["2006", 1400, 1]
];
// add a marker seris
chart.bubble(data);
// set chart title
chart.title("Bubble Chart: Basic Sample");
// set the titles of the axes
chart.xAxis().title("Year");
chart.yAxis().title("Sales, $");
// draw
chart.container("container");
chart.draw();
});