Skip to main content
100%

Q3_Line chart

✓ Published1🌍 Public
Mmaddineni2112@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from D3 Starter

This line chart displays India's GDP over time, plotting the annual value against the year. The chart uses a smooth monotone curve to connect the data points, with gridlines and formatted axis labels for readability. The visualization is built with D3 v7, loading the data from a CSV file via `d3.csv` with `d3.autoType` for automatic type conversion. It uses `d3.scaleLinear` for both axes, `d3.extent` for domains, and `d3.format` for SI-prefix currency display. The code selects the year and GDP columns by name, limits the dataset to 80 rows, and sorts the data by year.

AI-generated description
MIT Licensed

Similar vizzes