GDP Choropleth Viz save
✓ Published0🌍 Public
A choropleth map colors countries by GDP per capita, with a slider to change the displayed year from 1970 to 2033. Hovering a country reveals a line plot of its GDP over time, annotated with red and green dashed lines marking the current year’s value. Built with D3 v6, it uses `d3.geoPath` for map rendering and `d3.scaleLinear` for both the map’s color scale and the plot’s axes.
AI-generated descriptionThe color of each country on the map shows its GDP per capita. You can move the slider to change the year shown on the map. You can hover over a country to show its GDP over time on the plot. The red line on the plot shows the current year on the slider
Goals of viz:
- Be able to compare the GDP of countries at a given year
- Be able to see how one country's GDP changes over time
- Get an idea of how global gdps change over time by playing with slider
MIT Licensed