Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
PPothuguntla Pranitha
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Activity-6

This bar chart displays the population of 30 countries in 2020, sorted by country name along the vertical axis. The chart uses React with D3 v5 to render SVG elements, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are formatted using D3’s `format` function, converting billions to a readable label. The data is loaded via `d3.csv` from a remote GitHub source, and each bar includes a tooltip showing the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes