Skip to main content
100%

Act_6_Q_1.1

✓ Published2🌍 Public
Ssairam.amaraneni22@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Act_6_Tut_1

This horizontal bar chart displays the population of ten countries in the year 2000, with bars sorted by country name along the y-axis and population values on the x-axis. It uses React with D3 v5 scales (`scaleBand`, `scaleLinear`) to position the bars and axes, rendering as SVG. The data loads via `d3.csv` from an external GitHub dataset, with population values formatted using D3’s `format` function. Green bars include native SVG `<title>` tooltips showing the formatted population for each country.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes