Skip to main content
100%

Activity 6 Question 1.2

✓ Published0🌍 Public
Aanisha.peddireddy@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025

This visualization displays a horizontal bar chart comparing population figures for 20 countries in 2010, ordered along a categorical y-axis with a linear x-axis for population values. Built with React and D3.v5, it uses `scaleBand` and `scaleLinear` to map the data, with SVG rendered through custom `AxisBottom`, `AxisLeft`, and `Marks` components. The population data is loaded via `d3.csv` from a GitHub-hosted CSV file, and tooltips show formatted values using `d3.format` with the "B" suffix for billions.

AI-generated description
MIT Licensed

Similar vizzes