Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity9Ques-2

Public visualization

Viewing a saved revision (read-only)

2d3fe4cf7bc64034b5a770f78cb4fd62

Activity9Ques-2

0 stars0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 18, 2024
Created on Apr 18, 2024
Forked from ICE -7 AreaChart

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 description

A simple line chart with D3 showing the US Airline Traffic Dataset.