Skip to main content
100%

Project | Primary Balance | Part 1 | Chloro-new

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

This example displays a world map using D3.js, coloring each country orange and highlighting it yellow on hover. It visualizes primary balance and economic data by country, with tooltips showing country names. The visualization uses `d3.geoEquirectangular` projection, `d3.geoPath` to render geographic paths, and TopoJSON to convert world atlas data. Users can zoom and pan the map via D3’s zoom behavior. Data is loaded from CSV and JSON sources via `Promise.all`, and each country includes a `<title>` element for hover details.

AI-generated description
MIT Licensed

Similar vizzes