Fork of D3 Line Chart - 11641166
✓ Published0🌍 Public
This example visualizes Apple Inc.’s average annual stock price from 2000 to 2023 as a single line chart. It uses d3.line, d3.scaleTime, and d3.scaleLinear to map years and prices, with axes generated via d3.axisBottom and d3.axisLeft. The SVG renders gridlines, labeled axes, and a purple stroke path. Data is loaded from a CSV using d3.csv, and styled with custom CSS classes.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed