Skip to main content
100%

Fork of Line Chart

✓ Published1🌍 Public
Nnishanththouta16@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

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 description
MIT Licensed

Similar vizzes