Skip to main content
100%

Music Signature Change of the Hit Songs

✓ Published1🌍 Public
ZZiyang Gao
Last edited Nov 5, 2020
Created on Oct 28, 2020

This visualization tracks the average audio features of the top 10 Spotify tracks per year from 2010 to 2019, showing how musical characteristics like danceability, energy, and valence evolve over time. Each line represents a different feature, with the circle size encoding the standard deviation, indicating variability across the hit songs. Hovering over a line highlights it, bolding the stroke and displaying the exact average value for each year. Built with the Vega-Lite API, it leverages `vl.markLine`, `vl.markCircle`, and interactive selection via `vl.selectSingle` with `mouseover` events, pulling data from a pre-computed CSV of yearly means and standard deviations.

AI-generated description

A visualization constructed using the vega-lite-api.

The graph shows the trend of music component signature since 2010 to 2019. Data were preprocessed by Rstudio, taking the average data of top 10 Spotify playing music every year. Standard deviation is calculated to show the variant of each category.

Hover over a line and it will be bolded and showing the exact average number of each data point.

See Data on Gist:

Calculated Mean and SD

Yearly Music Trend

The original data comes from the Observable

MIT Licensed

Similar vizzes