Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Barchart for ICE-6

Public visualization

Barchart for ICE-6

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed