Skip to main content
100%

Activity 6_Task1 question1.1

✓ Published1🌍 Public
Ssasidhharreddy@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity 6_Task 1

This bar chart displays the populations of ten countries in the year 2000, sorted by country name along the vertical axis with horizontal bar lengths proportional to population. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to position marks, while `d3.csv` loads data from a GitHub-hosted CSV file. The SVG rendering includes custom axes built with `AxisBottom` and `AxisLeft` components, and a native SVG `<title>` element provides tooltips using `d3.format` for abbreviated labels like “B” for billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes