Skip to main content
100%

stylized bar chart

✓ Published1🌍 Public
Aaparnasj-sj
Last edited Oct 11, 2023
Created on Oct 11, 2023
Forked from refactor bar chart

This stylized bar chart displays the 2020 population estimates for the top 10 countries, using horizontal bars sorted by country name from the UN Population 2019 dataset. React renders the SVG visualization, while d3.scaleBand and d3.scaleLinear handle the categorical and numeric axes respectively. The chart applies custom tick formatting with d3.format to abbreviate large population values into billions, and includes interactive tooltips showing the full formatted value on bar hover.

AI-generated description

use react to render data d3 to generate bar chart

MIT Licensed

Similar vizzes