Skip to main content
100%

ICE6_Gayathri_BarChart

✓ Published0🌍 Public
Ggayathrisaxena23@gmail.com
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from React & D3 Starter

This bar chart displays the top 10 countries by population in 2019, with horizontal bars ranked by population size. The visualization uses D3 v7 scales—`scaleBand` for the categorical country axis and `scaleLinear` for the numeric population axis—to map data from a CSV file loaded via `d3.csv`. React manages the component state and renders the SVG elements, with each bar drawn as a `<rect>` filled in steelblue inside a translated group.

AI-generated description
MIT Licensed

Similar vizzes