New-5
✓ Published1🌍 Public
This scatterplot compares the GDP variation of the USA and Germany after World War II. The x-axis shows the year, and the y-axis shows GDP as a percentage. A color legend allows users to click on a country to highlight its data points, while the other country's points are dimmed. Built with D3 v5, it uses `scaleLinear`, `axisBottom`, and `axisLeft` for axes, and `scaleOrdinal` with `schemeSet2` for colors, with data sourced from the IMF.
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