Skip to main content
100%

Lokesh Question 1.1

✓ Published0🌍 Public
Rrayavarapulokesh3@gmail.com
Last edited Oct 22, 2024
Created on Oct 20, 2024
Forked from Activity 7

This example shows a horizontal bar chart ranking the populations of ten countries for the year 2000. The bars are sorted by country name, with population values scaled linearly along the x-axis and formatted in billions. The visualization uses React to render SVG elements, with D3 v5 providing the scales (`scaleBand`, `scaleLinear`), axis components, and CSV data loading via `d3.csv`. The underlying data comes from the `Activity6_Population.csv` file, and hovering over each bar reveals a tooltip with the formatted population value.

AI-generated description

Horizontal bar chart of 10 countries in 2000 using Activity6_Population.csv

MIT Licensed

Similar vizzes