Skip to main content
100%

Fork of Activity 6_task1

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

This bar chart visualizes the top 30 countries by population in 2020, sourced from a CSV file. Using D3 v5 within a React framework, the code employs `scaleBand` and `scaleLinear` for axis mappings and renders bars as SVG rectangles. The chart includes custom tick formatting via `format('.2s')`, converting values to billions with a 'B' suffix, and a tooltip showing the formatted population value on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes