Skip to main content
100%

Chloropleth Map

✓ Published1🌍 Public
AAdrian Tan
Last edited Mar 28, 2020
Created on Mar 28, 2020

This choropleth map displays countries colored by economic classification, with a color legend positioned in the lower-left corner and hover interactions that highlight individual nations. The visualization uses D3 v5 with d3.geoNaturalEarth1 for projection and d3.geoPath for rendering geographic features, while d3.zoom enables pan and zoom functionality. TopoJSON and TSV data from the world-atlas package populate the map, with d3.scaleOrdinal mapping economy categories to a spectral color scheme. SVG elements render all visuals, and the legend uses custom D3 scales and tick marks for clarity.

AI-generated description
MIT Licensed

Similar vizzes