Skip to main content
100%

Fork of D3 Area Chart - 11641166

✓ Published0🌍 Public
JJasvitha Allamsetty
Last edited Mar 25, 2023
Created on Mar 25, 2023

This visualization presents Apple Inc.'s average stock price from 2000 to 2023 using a combined line and area chart. The SVG rendering uses D3 v7 to load CSV data, which is parsed and scaled with `scaleTime` for the X-axis and `scaleLinear` for the Y-axis. Grid lines are generated via `axisBottom` and `axisLeft`, while the data is drawn using `d3.line()` and `d3.area()` generators. The area chart is filled with a light blue color, and the line appears as a thick dark stroke, with axis labels and rotated Y-axis text enhancing readability.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes