🌍 Public
Viewing a saved revision (read-only)
c1ea87d35ad74220ae5f7ea3e6def293
Line chart
This line chart visualizes the cost of sales from 2000 to 2013, sourced from `data.csv` and rendered as an SVG. Built with D3 v6, it uses `d3.scaleBand` for the time-based X-axis and `d3.scaleLinear` for the Y-axis, drawing the trend with a thick light-green stroke via `d3.line`. Axis labels are added with custom styling, and the chart is framed within margins.
AI-generated descriptionA demonstration of how to start using D3 version 6.