Skip to main content
100%

Activity 6 Tutorial 1

✓ Published1🌍 Public
BBharath Vupputuri
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from Hello VizHub

This horizontal bar chart displays the population of 30 countries for the year 2020, with country names labeled along the y-axis and population values represented by bar lengths along the x-axis. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to map the data, and renders SVG rectangles through custom `Marks`, `AxisBottom`, and `AxisLeft` components. Population values are formatted with D3’s `format` function, and the data is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes