line chart
✓ Published0🌍 Public
This example displays a simple line chart of closing values over five dates in May 2012, using D3 v7. The code creates an SVG container with time and linear scales, then uses `d3.line` to generate a path with steelblue stroke. Date strings are parsed with `d3.timeParse`, and axes are added via `d3.axisBottom` and `d3.axisLeft`. The chart renders from hardcoded sample data, showing a trend from May 1 back to April 25.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed