🌍 Public
Viewing a saved revision (read-only)
0414dd9df6a6410585c810d24c4fabb2
Line Chart - Trend
This line chart displays a quantitative trend over time, plotting five yearly data points from 2018 to 2022, with values increasing from 20 to 90. The visualization renders in an SVG using D3 v7, with a linear x-scale for years and a linear y-scale for values. The code constructs the line path using `d3.line()`, applies axes via `d3.axisBottom()` and `d3.axisLeft()`, and labels the axes as "Year" and "Value," all within a 600×400 pixel canvas with specified margins.
AI-generated description