Skip to main content
100%

Version_2_SP

✓ Published1🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Oct 4, 2018
Forked from New-6

This visualization compares the GDP variation of the USA and Germany after World War II, using a scatterplot where the x-axis maps the year and the y-axis reports GDP in percent. The dataset originates from the IMF Website. An interactive color legend, built with `d3.scaleOrdinal` and `d3.schemeSet2`, allows users to click on a country to highlight its data points while dimming others. The chart is rendered as an SVG using `d3.axisBottom` and `d3.axisLeft` for the axes, with circles positioned via `d3.scaleLinear`.

AI-generated description

This 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 function ordering (scatterplot.js) used from Nick Lima's visualization.

MIT Licensed

Similar vizzes