Debt over time plot - India
This line chart displays the revenue generated through taxes by the United States government from 1800 to 2011, with the y-axis reporting revenue as a percentage of GDP and the x-axis reporting the year. It uses d3’s `csv` loader to fetch data from the described IMF dataset, then renders the line with `d3.line` and a `curveBasis` curve. The chart uses `scaleLinear` with `nice()` for both axes, and `axisBottom` and `axisLeft` for tick marks. The line is styled with a green stroke and 0.4 opacity, with titles and labels rendered as SVG text.
AI-generated descriptionThis line chart shows the revenue generated through taxes by the United States government from 1800 to 2011. The y-axis reports the revenue as a percentage of GDP and the x-axis reports the year. The dataset comes from the IMF Website.