Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example renders the top 10 most populous countries as a bar chart with no axes or labels. Using React hooks (useState, useEffect, useCallback) the component loads United Nations World Population Prospects 2019 data via d3.csv, slices the first ten rows, and displays them as SVG rectangles. The chart uses d3.scaleBand for the y-axis positioning and d3.scaleLinear for the x-axis widths, with bars drawn directly in JSX. The visualization intentionally omits axes, ticks, and text to present the data in a minimal, "pathetic" style that emphasizes raw bar lengths without supporting context.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed