Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
Aakhilasannayila@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the 2020 populations of 30 countries, ranked by country name along the y-axis and population along the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for positioning, while axes and marks are rendered as SVG elements. Population values are loaded from a CSV file via `d3.csv`, formatted with `d3.format`, and tooltips display each bar’s value on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes