<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.scatter();
chart.bubble([
[1, 25, 4],
[2, 15, 2],
[3, 20, 3],
[4, 11, 1]
]);
// Gets maximum size of the bubble.
var maxSize = chart.maxBubbleSize();
chart.title("The current maximum bubble size is " + maxSize);
chart.container("container");
chart.draw();
});