Top 100 Songs w/ Menus + Color Legends + Filther
This interactive scatterplot explores relationships between musical attributes of the top 100 Spotify tracks of 2018, plotting selected variables on the x- and y-axes via dropdown menus. A third dropdown filters points by color based on categorical attributes like key or mode, with a color legend that highlights matching points on hover. Built with React and D3 v5, it uses `scaleLinear`, `scaleOrdinal`, and SVG circles to render the data loaded from a CSV via `d3.csv`.
AI-generated descriptionA visualization showing the relationship between duration of song and energy of the top 100 songs of 2018.
More insights can be found in this Data Visualization Project.
Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. Typically, energetic tracks feel fast, loud, and noisy. For example, death metal has high energy, while a Bach prelude scores low on the scale. Perceptual features contributing to this attribute include dynamic range, perceived loudness, timbre, onset rate, and general entropy. key
Mode indicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived. Major is represented by 1 and minor is 0.
The duration of the track in milliseconds.