Change in GDP: Post World War II
This interactive scatterplot visualizes GDP changes in the United States and Germany after World War II, with GDP percentage on the y-axis and year on the x-axis. A yellow legend panel allows users to click on a country to highlight or dim corresponding data points. The visualization uses d3.csv for data loading from the IMF, d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and a d3.ordinal color scale with schemeSet2. Circles are rendered as SVG elements with opacity adjustments based on selected country.
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 (index.js) and update pattern ordering (scatterplot.js) used from Nick Lima's visualization.
Comments
Sign in to join the discussion.