🌍 Public
Viewing a saved revision (read-only)
9699e0c60d2641488d4e2776ac53d889
Project | Primary Balance | Part 1
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