Skip to main content
100%

Fork of Fork of Fork of ICE-6 Bar Graph

✓ Published0🌍 Public
Aadapavaishnavi12
Last edited Mar 16, 2023
Created on Mar 16, 2023

This bar chart shows monthly Amazon Music subscription costs across different countries, ranking the first twelve countries from a Spotify dataset. The visualization uses React hooks to load and manage CSV data, while D3 v5’s `scaleBand` and `scaleLinear` handle positioning and scaling. SVG rectangles encode each country’s cost, with red gridlines and tick labels generated manually via `xScale.ticks()`. Data is fetched through D3’s `csv` function from a GitHub gist, and the chart is rendered entirely as SVG within a React component.

AI-generated description

A whole smiley face

MIT Licensed

Similar vizzes