Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_Question1.1

Public visualization

activity6_Question1.1

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

This visualization is a horizontal bar chart displaying the population of ten countries in the year 2000, with bars sorted by country name and labeled with a formatted tick axis (e.g., “1.2B” for billions). The chart uses React components to render SVG elements, with D3 v5 functions such as `scaleBand`, `scaleLinear`, and `max` to compute scales and domains. Data is loaded asynchronously from a remote CSV file using D3’s `csv` parser, and each bar includes a native SVG `<title>` tooltip showing the population value.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed