Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_1.1

Public visualization

Fork of Activity6_1.1

0 stars0🌍 Public
Aa9.hemraj@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Activity6_1.1

This horizontal bar chart displays the populations of ten countries for the year 2000. Each bar’s length encodes the population value, with a linear scale on the x-axis and a categorical band scale for countries on the y-axis. The visualization is built with React and D3 v5, creating SVG marks and axes. It uses `scaleBand`, `scaleLinear`, and `format` to render the chart, and data is sourced from a CSV file via a custom `useData` hook.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed