Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Ssjannaikode@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the 2020 populations of 30 countries, using a green fill for each bar with country names on the left and a formatted population axis on the bottom. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded asynchronously from a CSV file via `d3.csv`, and the population values are multiplied by 1000 before being displayed.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes