Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2-Question2

Public visualization

Viewing a saved revision (read-only)

25f5b2a92a8d4943bdce102202dc8411

Assignment2-Question2

0 stars0🌍 Public
PPavanKumarRacharla@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This visualization displays the changing price of mobile devices from 2005 to 2017 using an area chart. The chart employs a gold line with a pink fill to represent cost trends over time, with a time-scaled x-axis and linear y-axis. Built with D3 v5, the code uses `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line`/`area` generators with `curveBasis` smoothness. Data is loaded from a CSV file via `d3.csv` and parsed with `timeParse` for date formatting before rendering to SVG.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.