Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Variation of GDP over time for USA and Germany-test3

Public visualization

Variation of GDP over time for USA and Germany-test3

0 stars2🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Oct 3, 2018

This scatterplot tracks the GDP variation over time for the USA and Germany, using two distinct colors to differentiate the countries. A color legend allows users to click on a country to highlight its data points while dimming the others. The visualization is built with D3 v5, using `scaleLinear` for the axes, `scaleOrdinal` with `schemeSet2` for the color mapping, and SVG circles for the data points. The data is loaded from a CSV file via `d3.csv`.

AI-generated description

Data loading concept in index.js used from Nick Lima

Comments

Sign in to join the discussion.

MIT Licensed