Skip to main content
100%

Spotify Tracks Dataset

✓ Published0🌍 Public
Ccindy203cc
Last edited Nov 22, 2022
Created on Nov 20, 2022
Forked from Hello VizHub

This interactive histogram explores the distribution of numerical audio features and metadata from a Spotify tracks dataset. Users select an attribute (e.g., popularity, danceability, tempo) for the x-axis, choose between raw counts or percentages for the y-axis, and adjust the number of histogram bins via dropdown menus built with a local `dropdownMenu.js` module. The visualization is rendered as an SVG using D3 v5 APIs including `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft`, with bars that highlight on mouseover. Data is loaded from a CSV file and processed with D3's `csv` function.

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