π Public
New-2
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 descriptionThis 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
Comments
Sign in to join the discussion.