Skip to main content
100%

Activity 6

✓ Published1🌍 Public
KKarnam Abinay Goud
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity 7

A horizontal bar chart displays the populations of ten countries for the year 2000, with each bar's length proportional to its population value. The chart uses a green fill for the bars and blue axis tick marks. Built with React and D3 version 5, the visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and renders as SVG. Population data is loaded from a remote CSV file using `d3.csv`, and D3's `format` function converts large numbers to a compact "B" (billion) notation for axis labels and tooltips.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes