<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.scatter();
chart.bubble([
[4, 9, 10],
[1, 7, 6],
[2, 7, 15],
[3, 8, 20]
]);
// Get statistic.
var bubbleMaxSize = chart.getStat("dataPlotBubbleMaxSize");
chart.title("Bubble maximum size is " + bubbleMaxSize + ".");
chart.container("container");
chart.draw();
});