Expenditure over time plot
✓ Published2🌍 Public
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 descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
MIT Licensed