Skip to main content
100%

Area Chart of GDP of India in last two decades

✓ Published0🌍 Public
HHarshavardhan
Last edited Mar 25, 2023
Created on Mar 25, 2023

This area chart visualizes India’s GDP in billion US dollars from 2001 to 2021, using a smooth basis curve to draw both a black line and a pink filled area beneath it. The visualization loads CSV data from a GitHub gist, parses the numeric GDP values and year, then renders the chart as an SVG using D3 v5 APIs such as `d3.select`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, `d3.line`, and `d3.area`. Axis labels are styled via CSS, with tick marks and text formatted to show GDP values in a compact notation.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes