Skip to main content
100%

Activity-6 Question-1

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity-6

This visualization presents a horizontal bar chart of population figures for 30 countries in 2020, ranked along a categorical y-axis with population values on a linear x-axis. The React-based application uses D3 v5 modules including `scaleBand`, `scaleLinear`, `max`, and `format` to compute scales and tick labels, with SVG rendering for bars and axes. Data is loaded asynchronously from a GitHub-hosted CSV file via `d3.csv`, and each bar includes a native SVG `<title>` tooltip showing the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes