Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task1

Public visualization

Viewing a saved revision (read-only)

2a77c0f93a4844fe95a5882e073af4d2

activity 6_Task1

0 stars0🌍 Public
Hhui249378@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This interactive bar chart displays the population of the top 10 countries for the year 2000, using horizontal bars colored green. Built with React and D3, it loads data from a remote CSV file via the `csv` function and renders the visualization as SVG. The chart uses `scaleBand` for the categorical y-axis, `scaleLinear` for the population x-axis, and includes custom axis components with tick formatting via `format`. Hovering over a bar shows a tooltip with the population value formatted using `format('.2s')`.

AI-generated description