Interactions - Spotify Peak Position Scatter Plot
This interactive scatter plot visualizes Spotify’s top 10,000 songs, aggregated by artist to show the relationship between an artist’s number of songs in the dataset and their peak chart position, peak streams, or total streams. Dropdown menus allow switching between different y-axis metrics and filtering the dataset size. Hovering over a point reveals a tooltip with artist-specific details, while an interactive color legend highlights artists by their number of songs at max position. The visualization uses D3 v7 with logarithmic scales, `scaleOrdinal` for color encoding, and `.on('mouseover')` events for tooltips, built with modular ES6 imports.
AI-generated descriptionA colored scatter plot of Spotify Top 10,000 Songs using modified data with simple logaritmic axes.
This iteration updates the dropdown menu, adds a interactive color legend and simple tooltips on hover, inspired by the Greater Boston Map.