Skip to main content
100%

Activity6_Question1

✓ Published0🌍 Public
Nneerajreddyaluka@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2020, with country names on the vertical axis and population values on the horizontal axis. The chart uses React with D3 v5 scales, including `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the quantitative axis, rendering SVG rectangles. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and axis ticks are formatted using `d3.format`. Hovering over a bar reveals a tooltip with the population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes