Skip to main content
100%

activity 6_Task 1 Q1.2

✓ Published0🌍 Public
Mmoulidomar@hotmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This horizontal bar chart displays the 2010 population of 20 countries, sorted from largest to smallest. Built with React and D3 v5, it renders SVG rectangles using the `scaleBand` and `scaleLinear` scales. The chart loads CSV data from a GitHub repository, applies a custom tick formatter to abbreviate values in billions, and includes accessor functions for country and population. Both axes are custom components, with axis labels styled in blue and green marks that each contain a native SVG tooltip.

AI-generated description
MIT Licensed

Similar vizzes