Activity 7q2
✓ Published0🌍 Public
This area chart compares Amazon and Tesla stock prices over time, with each series filled by a gradient that fades to transparency. The chart uses D3.js (d3.v7) to load data from a CSV file, parse year and price values, and render the visualization as an SVG. It constructs linear scales for both axes, builds the area paths with `d3.area()`, applies linear gradients for each series, and labels the axes with `d3.axisBottom` and `d3.axisLeft`. The data source is a remote Gist CSV file.
AI-generated descriptionMIT Licensed