Skip to main content
100%

GDP Distribution US and Germany

✓ Published0🌍 Public
MMukund Khandelwal
Last edited Oct 2, 2018
Created on Oct 2, 2018

This scatterplot shows the distribution of government revenue as a percentage of GDP over time for the United States and Germany, with each circle representing a year. The chart uses d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for gridlines and labels, and an interactive d3 color legend that filters which country's data points are highlighted. Data is loaded from a remote CSV file via d3.csv, and the visualization is rendered as SVG elements with circles positioned by scaled year and GDP values.

AI-generated description
MIT Licensed

Similar vizzes