Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of map

Public visualization

Viewing a saved revision (read-only)

011911adc72345b795cc40cf4ee3f892

Fork of map

0 stars0🌍 Public
RRahulChaitu999
Last edited Jun 21, 2022
Created on Jun 21, 2022
Forked from Choropleth Map

This interactive world map colors each country by economy group using a categorical ordinal scale with a spectral color scheme. Users can pan and zoom the map through d3.zoom, while hovering highlights individual countries. The visualization loads geographic data from the world-atlas TopoJSON dataset and joins it with TSV metadata, rendering with d3.geoPath and a natural Earth projection. A custom color legend component displays the ordinal scale, and the code imports utilities from d3 v5 and topojson.

AI-generated description