Activity7_Que2
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed