Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

DV TASK-8(Q1)

Public visualization

Viewing a saved revision (read-only)

56b87a1753764b2ea57de87bb3562f1b

DV TASK-8(Q1)

0 stars0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the populations of ten countries in the year 2000. The visualization uses React to render SVG elements, with D3 v5 scales (`scaleBand` and `scaleLinear`) mapping country names and population values to positions and bar lengths. The data is loaded as CSV from a GitHub repository, with population values converted from thousands. Tooltips display formatted population values, and axes are labeled with a tick format that abbreviates large numbers using the `format` API.

AI-generated description

A demonstration of how to start using D3 version 6.