Skip to main content
100%

New-4

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

This visualization compares GDP variation (in percent) between the USA and Germany after World War II, using data from the IMF. The d3.v5 scatterplot displays GDP on the y-axis and year on the x-axis, with a clickable color legend to highlight either country. It employs scaleOrdinal and scaleLinear for scales, axisLeft and axisBottom for axes, and SVG circles for data points. The legend uses d3 event handlers to toggle country selection, adjusting circle opacity accordingly.

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 and function ordering in index.js used from Nick Lima's visualization.

MIT Licensed

Similar vizzes