Skip to main content
100%

Expenditure over time plot

✓ Published2🌍 Public
MMukund Khandelwal
Last edited Oct 4, 2018
Created on Sep 19, 2018

This plot shows United States expenditure as a percentage of GDP since 1800, with a red line charting the yearly values. The visualization uses D3.js v5, scaling the x-axis linearly for years and the y-axis linearly for expenditure percentages. It renders as SVG, with the line generated using `d3.line`, `curveBasis` for smoothing, and axes created via `axisBottom` and `axisLeft`. Data is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes