Skip to main content
100%

Activity-6_Question1.2

✓ Published0🌍 Public
Aabdul.khader2899@gmail.com
Last edited Apr 6, 2024
Created on Apr 4, 2024

This horizontal bar chart visualizes the 2010 populations of the first 20 countries from a CSV file, sorted alphabetically by country name. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for the axes and renders SVG rectangles via the `Marks` component. Each bar’s length represents population, with tooltips showing formatted values (e.g., "1.37B"). The chart includes styled tick marks and axis labels, with population data multiplied by 1000 from the source.

AI-generated description

Creating bar graph using the vizHub to visualize the population for the first 20 countries in the year 2010.

MIT Licensed

Similar vizzes