Skip to main content
100%

Fork of choropleth map

✓ Published1🌍 Public
Zzenoe
Last edited Oct 6, 2021
Created on Oct 6, 2021

This fork of a choropleth map visualizes global economic data by coloring countries according to their economy type. The map uses a natural Earth projection and displays a dynamic color scale based on the spectral scheme. Built with D3 v5 and TopoJSON, the visualization loads world atlas data from a TSV and JSON file, then projects geographic features using d3.geoPath. Users can click a country to select a specific economy value, which triggers a re-render that updates the color assignments. The SVG output supports zooming through the d3.zoom component, and hovering highlights individual countries in red.

AI-generated description
MIT Licensed

Similar vizzes