Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Project | Primary Balance | Chloro | Filter

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed