Skip to main content
100%

Activity 6_2

✓ Published0🌍 Public
Jjayanthbalina@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Activity 6_1

This visualization displays the population of 20 countries in 2020 as horizontal bars, ranked by country name. The chart uses a linear scale for population and a band scale for countries, with axis ticks and labels rendered via custom React components. The data is loaded from a CSV file using D3’s `csv` function, and the bars are drawn as SVG rectangles. Formatting for population values uses D3’s `format` function to abbreviate large numbers. The chart is built with React, D3 v5, and rendered as SVG.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes