🌍 Public
Choropleth Map with D3 and SVG Final
CChawin Sungwalngern
Last edited Dec 27, 2022
Created on Dec 27, 2022
This interactive world map uses a stereographic projection to display countries colored by income group. Built with D3 v5 and rendered as SVG, it loads GeoJSON and TSV data from the world-atlas package. Users can pan and zoom the map, which features a color legend and tooltips showing country names and income classifications. The visualization relies on d3.geoStereographic, d3.geoPath, d3.scaleOrdinal, and d3.zoom APIs.
AI-generated descriptionInteractive Worldmap with geoStereographic view.
Bostock: Dataset for title function to return country names
The Data is pulled from unpkg file and linked based on income group. The data can be change if prefer.
MIT Licensed
Comments
Sign in to join the discussion.