Skip to main content
100%

line chart

✓ Published0🌍 Public
Jjaredaitken6
Last edited Dec 1, 2023
Created on Dec 1, 2023
Forked from D3 Starter

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes