FacetChart with drilldown
Browser shares (sample data). Click to explore
HTML
HTML
<script src="https://cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js"></script>
<div id="demo"></div>
CSS
CSS
//No CSS for this example
JavaScript
JavaScript
pc = new FacetChart({
container: document.getElementById("demo"),
data: { url: "/dvsl/data/pie-chart/browsers.json" },
series: [
{
data: { field: "value" },
style: { fillColor: "#09c", depthBrightness: 0.6, shadowColor: "rgba(0,0,0,0.5)" }
}
],
facetAxis: {
defaultUnitWidth: 100
}
});