Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

choropleth map

Public visualization

choropleth map

0 stars0🌍 Public
Jjlspangl
Last edited Sep 30, 2021
Created on Sep 30, 2021

A world map rendered as a choropleth uses color to encode each country’s economy classification. Built with D3 v5 and topojson, the visualization loads geographic data from a 50m world-atlas JSON and TSV files, then projects it using `geoNaturalEarth1`. The `scaleOrdinal` color scale applies the `schemeSpectral` palette, while a custom legend displays the categories. Hovering turns a country red, and zooming is supported via the `zoom` event handler.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed