Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as horizontal bars, using bar length to encode population without any axes or labels. The visualization is built with React and D3 v5, reading United Nations population data from a CSV file. It uses d3.csv for data loading, d3.scaleBand for the categorical y-axis positions, and d3.scaleLinear for the quantitative x-axis scaling. The bars are rendered as SVG rectangles within a red-background SVG canvas, positioned using D3’s transform utility.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed