{"version":"1.0","type":"rich","title":"Top 10 Artists Bar Chart - Spotify Peak Position","description":"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`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c1759d3256174d1880cc9b82e67991b5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}