Spotify Tracks Dataset
✓ Published0🌍 Public
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 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