Skip to main content
100%

Version_3_SP

✓ Published1🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Oct 4, 2018
Forked from Version_2_SP

This visualization shows GDP variation as a percentage for the USA and Germany after World War II, with year on the x-axis and GDP on the y-axis. It uses a scatterplot with color-coded points for each country and an interactive legend that highlights or dims data by country. The code relies on d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and d3.scaleOrdinal with schemeSet2 for colors. Data is loaded via d3.csv from the IMF website, and interaction is handled through click events on the legend.

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 function ordering (scatterplot.js) used from Nick Lima's visualization.

MIT Licensed

Similar vizzes