Skip to main content
100%

activity6 q1.1

✓ Published0🌍 Public
Hhkodiripaka15@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the population of different countries for the year 2000, with the top 10 countries sorted by population. The chart uses React components to render SVG elements, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numerical x-axis. Data is loaded from a CSV file using d3.csv, and axis ticks are formatted with d3.format using SI notation that converts "G" to "B" for billions.

AI-generated description
MIT Licensed

Similar vizzes