Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of activity 6 q1.1

Public visualization

Fork of activity 6 q1.1

0 stars1🌍 Public
RRakesh Yadav
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from activity 6_Task 1

This visualization displays the population of the top 10 countries in the year 2000 as a horizontal bar chart, with countries listed on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from a CSV file, with SVG rectangles for bars and native React components for axes. The chart formats tick labels using D3’s `format` function, converting values to billions, and includes tooltips via SVG `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed