Map chart
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
chart= new GeoChart({
"background": {
"params": {
"subdomains": [
"a",
"b",
"c",
"d"
],
"attribution": "\u00a9 <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors"
}
},
"navigation": {
"maxZoom": 10
},
"layers": [
{
"id": "shapes",
"type": "shapes",
"data": {
"id": "shapes"
},
"style": {
"node": {
"fillColor": null,
"lineColor": "#2fc32f"
}
}
}
],
"container": "demo",
"data": [
{
"id": "shapes",
"format": "GeoJSON",
"url": "/dvsl/data/geo-chart/countries.geo.json",
"perDrilldownData": false,
"perZoomData": false,
"perBoundsData": false
}
],
"interaction": {
"resizing": {
"enabled": false
}
}
})