ICE7 Task3 Line Chart
✓ Published0🌍 Public
This example shows the annual GDP of a country in billions of dollars over time, with the x-axis mapping years and the y-axis mapping GDP values. The visualization uses a line chart rendered as an SVG, where the data is loaded from a CSV file hosted in a GitHub Gist. The code builds scales with `d3.scaleTime` and `d3.scaleLinear`, generates axes using `d3.axisBottom` and `d3.axisLeft`, and draws the line with `d3.line`. The chart includes axis labels, gridlines via tick sizes, and a blue stroke for the line path.
AI-generated descriptionMIT Licensed