Skip to main content
100%

Activity6_T1

✓ Published1🌍 Public
Tthakurnikhitha4@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity 7

This chart displays 2020 population estimates for 30 countries, with vertical bars representing each country’s population in billions. The visualization uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` positioning the bars, and `format` converting tick labels from gigas to billions. Data loads asynchronously from a CSV file via `d3.csv`, supporting hover tooltips through SVG `<title>` elements. The x-axis is labeled “POPULATION-2020” and styling is applied through CSS classes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes