Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
SSean Ye
Last edited Jan 29, 2019
Created on Jan 29, 2019
Forked from Choropleth Map

This choropleth map visualizes country-level scalar data using color-coding over a geographical projection. Built with D3.js, it renders SVG paths from TopoJSON world data, with the projection handled by `d3.geoPath` and `d3.geoNaturalEarth1`. The map assigns colors based on a `scalerank` attribute using a `d3.scaleOrdinal` color scale, while a supplementary color legend displays the mapping. Interactivity is included via a zoom feature, and hovering over a country highlights it and displays a tooltip with its name and value.

AI-generated description
MIT Licensed

Similar vizzes