New-6
This interactive scatterplot compares GDP variation in the United States and Germany after World War II, with the y-axis showing GDP as a percentage and the x-axis showing the year. Users click a color legend to highlight one country while dimming the other. The visualization uses d3.scaleOrdinal for colors, d3.scaleLinear for axes, and d3.axisBottom/axisLeft for tick marks. SVG circles represent individual observations, with data sourced from the IMF website and loaded via d3.csv.
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.