Skip to main content
Public

Share visualization

Loading preview…

Music Signature Change of the Hit Songs

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Music Signature Change of the Hit Songs

1
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

Comments

Sign in to join the discussion.

MIT Licensed