Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spotify Music Attributes

Public visualization

Viewing a saved revision (read-only)

6d415924c9f44584ad93fc1279cc06b0

Spotify Music Attributes

0 stars1🌍 Public
DdaojunL
Last edited Sep 11, 2020
Created on Sep 10, 2020

This example loads a Spotify dataset of 2017 songs and displays basic file metadata in a large-text overlay. It uses `d3.tsv` to fetch and parse the tab-separated data, then reports the approximate file size in kilobytes, the total number of rows (songs), and the column count. The visualization also demonstrates an alternative async/await fetch method with `d3.csvParse`, though the primary path relies on `d3.tsv` and promise-based loading. Each song includes a binary label indicating whether the author liked it.

AI-generated description

A dataset of 2017 songs with attributes from Spotify's API. Each song is labeled "1" meaning the author likes it and "0" for songs the author doesn't like.

Original data source: Spotify Music Attributes