🌍 Public
Viewing a saved revision (read-only)
fd12006e6b3e445a99972d0f65d21f5d
Activity9Ques-2
This area chart visualizes the change in Amazon and Tesla stock prices over time, using a dataset loaded from a CSV URL. The chart displays two filled areas with linear gradients, one in blue for Amazon and one in orange for Tesla, against axes labeled "Year" and "Stock Price". Built with D3.js v7, the code parses the CSV, applies linear scales for both axes, and uses the `d3.area` API to generate the paths. The SVG output includes axis ticks and labels, with a light background and borders styled by CSS.
AI-generated descriptionA simple line chart with D3 showing the US Airline Traffic Dataset.