Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1 - Area chart

Public visualization

Viewing a saved revision (read-only)

f20d19cd37d94304a39675f74cc8db3e

Activity 7.1 - Area chart

0 stars0🌍 Public
Ggsdontineni518@gmail.com
Last edited Nov 7, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This area chart visualizes the total Spotify streams of the most streamed songs aggregated by their release year, showing how streaming totals trend across decades. The chart uses a steel-blue filled path generated by `d3.area()` with linear scales for both axes. Data is loaded from a remote CSV file using `d3.csv`, then processed with `d3.rollups` to sum streams per year before sorting chronologically. Axes are rendered using `d3.axisBottom` and `d3.axisLeft`, with the SVG output containing numbered year ticks and labeled axis titles.

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.