Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
NNagalakshmi Thota
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This D3.js bar chart displays the population of 30 countries in 2020, using horizontal bars on a Cartesian grid. The visualization leverages React components and D3 version 5's `scaleBand` for the categorical y-axis and `scaleLinear` for the numerical x-axis. Data is loaded via a CSV URL providing population figures, which are formatted using D3's `format` function to display values in billions. The SVG rendering includes blue tick lines, green bars, and a labeled x-axis, with tooltips showing formatted population values on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes