Skip to main content
100%

Activity6 task 1

✓ Published0🌍 Public
Vvishnutejareddyambati@my.unt.edu
Last edited Oct 26, 2024
Created on Oct 26, 2024
Forked from D3 Starter

This bar chart displays the 2020 population estimates for 30 countries, ranked by country name. The visualization uses D3 version 5 within a React component, rendering data from a CSV file hosted on GitHub. Population values are formatted using D3’s `format` function, converting large numbers to abbreviated labels like “B” for billions. The chart employs `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with SVG rectangles representing each bar. Native SVG `<title>` elements provide tooltips showing precise population values on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes