Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
HHemanthh81
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from Activity 7

This bar chart displays the populations of 20 countries as horizontal bars, sorted by country name. Built with React and D3 v5, it renders as an SVG using `scaleBand` and `scaleLinear` for positioning, with population values loaded via `d3.csv` from a GitHub dataset. Axes are custom React components, and the x-axis uses `d3.format` to abbreviate tick labels from billions to "B" units.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes