Skip to main content
100%

New-2

✓ Published0🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Oct 4, 2018
Forked from New-1

This visualization displays the change in GDP (in percent) over time for the United States and Germany after World War II, using data from the IMF. A scatterplot with SVG circles, colored by country, shows yearly values, while a clickable color legend filters the data. The code uses d3.csv for loading, d3.scaleLinear and d3.scaleOrdinal for scaling, and d3.axisBottom and d3.axisLeft for axes. An interactive legend reduces opacity of non-selected countries.

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 and function ordering in index.js used from Nick Lima's visualization.

MIT Licensed

Similar vizzes