<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data for the first series
var data_1 = [
{x: 0, value: 500},
{x: 180, value: 200}
];
// create data for the second series
var data_2 = [
{x: 0, value: 0},
// create a chart
var chart = anychart.polar();
// create the first series (line) and set the data
var series1 = chart.line(data_1);
// create the second series (marker) and set the data
var series2 = chart.area(data_2);
// set the maximum value of the x-scale
chart.xScale().maximum(360);
// set the chart title
chart.title("Polar Plot: Basic Sample");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});