Skip to main content
100%

Project | Primary Balance | Part 1

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

This map visualizes primary balance values by country, with each nation colored orange and displaying its name, primary balance, and economic status in a tooltip on hover. The visualization uses a geographic projection (`d3.geoEquirectangular`) to render world boundaries as SVG paths, with data loaded from a CSV file and world atlas TopoJSON. The code applies a zoom interaction and hover styling that changes the fill to yellow, utilizing `d3.geoPath` for path generation and the `topojson` library for feature conversion.

AI-generated description
MIT Licensed

Similar vizzes