Skip to main content
100%

Activity6_population

✓ Published0🌍 Public
Kkeerthi.yanala104@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example shows the 2020 population of various countries as a horizontal bar chart, with the bars ordered by country name and labeled with abbreviated values in billions. It is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and `format` with the `.2s` specifier to convert tick labels from gigabytes to billions. The SVG rendering includes custom axis components and a tooltip format applied to bar labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes