Skip to main content
100%

Project | Primary Balance | Chloro

✓ Published1🌍 Public
MMukund Khandelwal
Last edited Oct 24, 2018
Created on Oct 22, 2018

This example visualizes each country’s economy type and primary balance using a choropleth world map. Countries are colored by their economic classification through a categorical color scale with a custom legend, while hovering reveals the country name and primary balance value. The map is rendered as SVG using `d3.geoPath` with an equirectangular projection, and country outlines come from TopoJSON data. D3’s `d3.zoom` enables panning and zooming, and the visualization uses `d3.scaleOrdinal` and `schemeSpectral` for color mapping.

AI-generated description
MIT Licensed

Similar vizzes