Skip to main content
100%

Question2 Area Chart

✓ Published0🌍 Public
VVijay Sheru
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Q2 Area chart

This example visualizes stock price trends over time using a filled area chart. The area is drawn in a semi-transparent steel blue, with price on the vertical axis and date on the horizontal axis, where the x-axis labels are rotated for readability. The chart is built with D3 v7, using `d3.scaleTime` and `d3.scaleLinear` for scaling, `d3.area` to generate the area path, and `d3.axisBottom` and `d3.axisLeft` for axes. Data is fetched asynchronously from a remote JSON file containing stock price records.

AI-generated description
MIT Licensed

Similar vizzes