Skip to main content
100%

Activity 6_Question 1.1

✓ Published1🌍 Public
Mmsnikhil2608@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This horizontal bar chart displays the population of ten countries in the year 2000, with each bar’s length proportional to its population value. The visualization uses a linear x-scale for population and a categorical y-scale for country names, with tooltips revealing the exact formatted population figures. Built with React and D3 v5, the code employs `scaleBand` and `scaleLinear` for scaling, `csv` for data loading from a remote GitHub source, and renders the chart as an SVG. The chart includes labeled axes for population and country, with the y-axis ordered by the country values.

AI-generated description
MIT Licensed

Similar vizzes