AVN - Line chart
✓ Published0🌍 Public
This example shows annual bike sales over time as a single blue line chart, with labeled axes for years and sales figures. The visualization is rendered as an SVG using React and D3 v5, leveraging `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator to map CSV data loaded via D3’s `csv` method. The data source is a raw GitHub gist containing sales-per-year records, parsed with `d3.timeParse` to convert dates before plotting.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed