Skip to main content
100%

Activity7_Que2

✓ Published0🌍 Public
MMannava Priyanka Chowdary
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This area chart visualizes the daily popularity of the song “Shape of You” from a Spotify dataset, showing how it trends over time with a maroon filled area. The visualization uses D3 v7 APIs including `scaleTime`, `scaleLinear`, `area`, `curveBasis`, and `axisBottom`/`axisLeft` to render an SVG with labeled axes and gridlines. The code filters out January 2018 data and manually prepends a January 2017 point before generating the smooth curve.

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.
MIT Licensed

Similar vizzes