Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

GDP changes: Post World War II

Public visualization

GDP changes: Post World War II

0 stars2🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed