Skip to main content
100%

Activity6_Tutorial1

✓ Published0🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Activity6_Task1

This bar chart displays the 2020 populations of 30 countries, sorted by country name along the vertical axis with population values extending horizontally. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles for each bar. The data is loaded as CSV via `d3.csv` from a GitHub repository, with axis ticks formatted using `d3.format`. Tooltips show exact population values on hover, and tick lines are styled blue with a light green bar fill.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes