Tax revenue over time plot
✓ Published2🌍 Public
This line chart displays United States tax revenue as a percentage of GDP from 1800 to 2011, using data from the IMF. The visualization uses d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for tick marks, and d3.line with a curveBasis interpolation to draw a thick, semi-transparent green trend line. Revenue values are parsed as numbers from the CSV, while the title and axis labels are styled with Comic Sans. The chart is rendered as an SVG with gridlines created via negative tick sizes.
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.
MIT Licensed