test2
This interactive scatterplot explores the top 20 Spotify songs per year in the U.S. from 2010 to 2019, plotting musical attributes like tempo and energy against each other. Users can switch the color encoding between top genre and artist, and hover over legend items to highlight specific categories while tooltips reveal song details. The visualization uses React with D3 v5 scales for positioning and color, rendering as SVG circles with dropdown menus for axis and color selections.
AI-generated descriptionThis viz shows the change of top genre of Spotify in the U.S. The top 20 songs of each year from 2010 to 2019 are selected foR this analysis. The slider of Year makes it possible to either focusing on a particular year or comparing over years. The color scale can be selected to show the artist or top genre. X and Y axis can be set to the features of interest. To see a specific Top Genre/Artist, just move mouse on the figure legend to hover one. To know the song of each data point, move your mouse over the point on the scatter plot, it will show the title, artist and top genre of that song.