Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity8Task1.2

Public visualization

activity8Task1.2

0 stars0🌍 Public
BBindumadhavi
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from activity8Task1.1

This example shows a horizontal bar chart comparing the 2010 populations of 20 countries, with green bars sorted alphabetically by country name and labeled axis ticks. Using React and D3 v5, it employs `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `format('.2s')` to abbreviate population values. The data is loaded via `d3.csv` from a GitHub-hosted CSV, with SVG rendering and built-in native tooltips on each bar.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed