Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Bbhavithamanyam@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This bar chart displays the population of 30 countries for the year 2020, sorted alphabetically along the y-axis with the population magnitude mapped to the x-axis. The visualization uses D3 v5’s `scaleBand` and `scaleLinear` via React components, rendering SVG rectangles that include tooltips showing the population value. Data is loaded asynchronously from a remote CSV file using D3’s `csv` function and formatted with `d3.format`. The chart includes styled axes with blue tick lines and Poppins typography.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes