Skip to main content
100%

ICE6-ESWARPVR

✓ Published1🌍 Public
Ppvreswar7@gmail.com
Last edited Jun 26, 2023
Created on Mar 22, 2023
Forked from Hello HTML

This bar chart displays the top 30 countries by population in 2010, with country names on the y-axis and population values on the x-axis. It uses React and D3 v5, with scaleBand for the categorical axis and scaleLinear for the numeric scale, rendering SVG rectangles for each bar. Data loads from a CSV via d3.csv, formatted with d3.format to abbreviate values like "1.2B". Tooltips appear on hover using native SVG title elements, and axes use custom React components with CSS-styled tick marks.

AI-generated description

Bar chart- Displaying the top 30 countries with the most population in 2020

MIT Licensed

Similar vizzes