Fork of Line Chart
✓ Published1🌍 Public
A simple line chart tracks six years of sales data, with a black polyline connecting points across evenly spaced, band-scaled year categories. The chart uses D3 v6 to build an SVG, applying `d3.scaleBand` and `d3.scaleLinear` to map coordinates and a `d3.line` generator to create the path. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`, while text labels appear for both variables, all with the dataset embedded directly in `index.html`.
AI-generated descriptionMIT Licensed