Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2 Question 2(a)

Public visualization

Viewing a saved revision (read-only)

483f7cbae9644c819b1cf2df90c85b9e

Assignment 2 Question 2(a)

0 stars0🌍 Public
Mmeghna.reddy700@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024

This area chart visualizes mobile phone prices over time, with cost on the y-axis and year on the x-axis. The chart uses a smooth curve to connect data points and fills the area beneath the line in light blue. The visualization is built with D3 v5, employing `scaleTime` and `scaleLinear` for axes, `line` and `area` generators with `curveBasis` for the smooth path, and `axisBottom`/`axisLeft` for tick marks. Data is loaded from a remote CSV file and parsed with `d3.timeParse` to extract years from date strings.

AI-generated description

Displaying Area Chart