New-1
✓ Published2🌍 Public
A scatterplot displays GDP variation after World War II for the USA and Germany, with GDP in percent on the y-axis and year on the x-axis, sourced from IMF data. The visualization uses d3.scaleOrdinal with schemeSet2 for color encoding and d3.scaleLinear axes with grid lines. Interactive color legend elements filter points by country, adjusting opacity based on selection. d3.csv loads the dataset, while d3.axisBottom and d3.axisLeft render tick marks.
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