<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
["Total Market", 232000],
["Prospects", 94480],
["Leads", 47390],
["Sales", 22181]
];
var chart = anychart.funnel(data);
chart.connectorStroke({
// set thickness of the connectors
thickness: 2,
// set color of the connectors
color: "#444",
// set dashed connectors. Dashes are 4px and gaps are 2px
dash: "4 2"
});
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();