Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Primary Balance filter 1

Public visualization

Primary Balance filter 1

0 stars0๐ŸŒ Public
MMukund Khandelwal
Last edited Nov 4, 2018
Created on Nov 4, 2018

This choropleth map shows the primary balance as a percentage of GDP for 55 countries, with a color legend that filters the map when a value is clicked, dimming non-matching countries. The visualization uses d3.geoEquirectangular for the projection and d3.geoPath to render the world map, with d3.zoom enabling pan and zoom interaction. Data is loaded via d3.csv and d3.tsv from the IMF website, and the ordinal color scale uses d3.schemeYlOrRd. The map is rendered as SVG, with hover highlighting and click-based filtering managed through D3 selections.

AI-generated description

This visualization shows the Primary Balance (% of GDP) of 55 countries. The dataset comes from the IMF Website.

Comments

Sign in to join the discussion.

MIT Licensed