Skip to main content
100%

Barchart for ICE-6

✓ Published0🌍 Public
GGorantla Sravani
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from Customizing Axes

This visualization displays the top Spotify artists ranked by total streams in billions, using a horizontal bar chart that supports scrolling through a long dataset. React manages the component state and rendering, while D3 v5’s `scaleBand`, `scaleLinear`, `axisLeft`, and `axisBottom` construct the axes and bars as SVG elements. The y-axis stays fixed while the bar area scrolls independently, with the `csv` loader pulling data from a remote gist. Each bar is colored Spotify green, and the x-axis labels include a “B” suffix to denote billions.

AI-generated description
MIT Licensed

Similar vizzes