Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Choropleth Map

0 stars1๐ŸŒ Public
FFerrandiaz92
Last edited Aug 7, 2019
Created on Aug 7, 2019
Forked from Choropleth Map

This choropleth map colors countries by economic group using a spectral color scale, with hover effects that highlight individual nations. The visualization uses D3.js (v5) to load world map data from TopoJSON and TSV files, projecting geographic coordinates with d3.geoNaturalEarth1 and rendering paths via d3.geoPath. A custom color legend with circles and text labels is built using D3 selections, while zooming is enabled through d3.zoom. The map data comes from the world-atlas package, and SVG is used for all rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed