Skip to main content
100%

GDP changes: Post World War II

✓ Published2🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Oct 4, 2018
Forked from Almost Final-11

This visualization uses a scatterplot to show GDP changes for the USA and Germany after World War II, with the y-axis reporting GDP in percent and the x-axis showing the year. A categorical color scale distinguishes the two countries, and an interactive color legend filters the data by country on click. The code loads data from the IMF via D3’s `csv` function and builds the chart using `scaleLinear`, `axisLeft`, `axisBottom`, and `scaleOrdinal` with `schemeSet2`. The update pattern follows Nick Lima’s approach for handling selections and transitions in SVG.

AI-generated description

This visualization shows the changes in GDP after World War II for US and Germany. The y-axis reports the GDP (in percent) and the x-axis reports the year. The dataset comes from the IMF Website.

Data loading concept (index.js) and update pattern ordering (scatterplot.js) used from Nick Lima's visualization.

MIT Licensed

Similar vizzes