Vector Map
A choropleth of the world, shaded from the accent.
How to use it
Copy any example below and paste it in- Marker
data-vectormapwith adata-vectormap-dataJSON block.- Data
valuesis an object keyed by two-letter country code.- Always pair it
- A map is a picture and shading is hard to read precisely. Put the same figures in a list beside it — the dashboards do.
- Scroll
- Zoom-on-scroll is off: someone scrolling past a panel should not end up zoomed into Patagonia.
Sessions by country
<div data-vectormap data-vectormap-height="300">
<script type="application/json" data-vectormap-data>
{
"label": "Sessions",
"values": { "US": 4210, "ID": 1870, "IN": 1640, "GB": 1480, "DE": 1120, "BR": 980, "JP": 760 }
}
</script>
</div>