Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

GDP Variation over time plot

Public visualization

GDP Variation over time plot

0 stars1🌍 Public
MMukund Khandelwal
Last edited Oct 2, 2018
Created on Oct 2, 2018

This visualization uses a scatter plot to show GDP variation over time for the US and Germany, with each circle representing a year’s GDP value. The chart includes labeled axes for Year and GDP, along with a title, and uses a linear scale for both dimensions. The code relies on d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.extent to render the SVG elements, while data is loaded asynchronously from a CSV file using d3.csv. Gridlines are drawn via tick sizes, and circles are styled with green fill and black strokes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed