Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
Ppraneeth.d555@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024
Forked from Activity 7

This example shows a horizontal bar chart of population data for 30 countries in 2020. The chart uses a linear x-scale for population values and a band scale for country names, with each bar colored green. The visualization is built with React and D3 v5, using SVG rendering. The code defines reusable components for axes and marks, and loads data from a CSV file using D3's `csv` function, with a tooltip that formats population values using D3's `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes