🌍 Public
Viewing a saved revision (read-only)
2d3fe4cf7bc64034b5a770f78cb4fd62
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.