Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project | Primary Balance | Chloro | Filter

Public visualization

Viewing a saved revision (read-only)

9f0d6571538f4209a944f2131f510247

Project | Primary Balance | Chloro | Filter

0 stars2🌍 Public
MMukund Khandelwal
Last edited Oct 24, 2018
Created on Oct 24, 2018

A world map colored by each country's economic status, rendered with SVG paths via d3.geoPath and a geoEquirectangular projection. Hovering reveals a tooltip with the country name, primary balance, and broader economic classification. The color legend, built with a custom colorLegend function, uses an ordinal scale mapped to the d3 schemeSpectral range. Data comes from a CSV joined with TopoJSON world-atlas shapes, while d3.zoom enables panning and zooming.

AI-generated description