Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_Question 1

Public visualization

Fork of Activity 6_Question 1

0 stars1🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024

This visualization shows the top 10 countries by population in the year 2000 as horizontal bars, with country names on the y-axis and population values on the x-axis. It is built with React and D3 v5, using `scaleBand` and `scaleLinear` to position the marks. The SVG rectangles render the data, which is loaded via `csv` from a GitHub-hosted dataset, and tooltips display formatted population values using D3’s `format`. The custom `AxisBottom` and `AxisLeft` components generate the tick marks and labels.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed