Skip to main content
100%

activity-6 question1.1

✓ Published0🌍 Public
Bbhargavireddy4016@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

A horizontal bar chart displays the population of ten countries in the year 2000, using a green SVG rect for each country. The chart loads population data from a remote CSV file, processes it with `d3.csv`, and renders the bars with React components. D3’s `scaleBand` and `scaleLinear` map the country names and population values to screen positions and widths, while custom `AxisBottom` and `AxisLeft` components draw the axes. Hovering over a bar reveals a native tooltip with the population value, formatted using `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes