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 stars0🌍 Public
Bbhavya.kanyadara@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Activity_6 Q1.1

This bar chart shows the population of ten countries in the year 2000, with countries listed on the y-axis and population values on the x-axis. The code uses React components to render SVG elements, including custom AxisBottom and AxisLeft components for ticks and labels. It loads CSV data from a GitHub repository using d3.csv, then applies a linear scale for population and a band scale for countries. The bars are green rectangles with tooltips showing formatted population values, and the x-axis labels use d3-format to abbreviate large numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed