Skip to main content
100%

Fork of Fork of Fork of Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public

This visualization displays the top 100 songs on Spotify as a horizontal bar chart, showing the duration of each track. The code uses React hooks (useState, useEffect) to load and manage CSV data from a GitHub gist, while D3 v5 provides scales (scaleBand, scaleLinear) and axis generation. SVG rectangles render the bars, with x-axis ticks drawn manually. The chart only plots the first 20 songs from the dataset, with tempo mapped to the y-axis and duration to the x-axis.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes