Skip to main content
100%

Top 10 Artists Bar Chart - Spotify Peak Position

✓ Published0🌍 Public
Fflanagancarlie@gmail.com
Last edited Apr 12, 2023
Created on Mar 29, 2023

This visualization displays the top 10 artists on Spotify based on a user-selected metric, such as peak streams or total streams, using a horizontal bar chart with a logarithmic x-axis. Each bar’s length represents the aggregated value for that artist, and hovering over a bar reveals a tooltip with details like song counts and peak positions. The chart is built with D3 v7, using `scaleLog` and `scaleBand` for scales, `axisBottom` and `axisLeft` for axes, and a dropdown menu to switch between metrics. Data is sourced from a CSV file of Spotify’s top 10,000 songs and processed with `flatGroup`.

AI-generated description

A bar chart of Spotify Top 10,000 Songs using modified data with simple logaritmic axes.

This iteration comes from the tutorial Making a Bar Chart by Curran Kelleher.

MIT Licensed

Similar vizzes