Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project | Interaction | Re-submit

Public visualization

Viewing a saved revision (read-only)

d89c1139d9b54c37a98618a0a9e128a7

Project | Interaction | Re-submit

0 stars1🌍 Public
MMukund Khandelwal
Last edited Nov 6, 2018
Created on Oct 25, 2018

A choropleth map shows the primary balance of countries, colored on a Yellow-Orange-Red ordinal scale, with a clickable legend to filter and highlight selected economic categories. Built with D3 v5, it uses `d3.geoEquirectangular` and `d3.geoPath` to render SVG country paths from TopoJSON (world-atlas 50m), joined with CSV data. The map supports zooming via `d3.zoom`, and legend interactions trigger re-renders that adjust country opacity and highlight states.

AI-generated description