Fork of Pathetic Bar Chart
✓ Published0🌍 Public
This example visualizes the top 10 most populous countries using a "pathetic" bar chart that deliberately omits axes, scales, or labels. The bars are rendered as SVG rectangles positioned using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The React component uses `useState` and `useEffect` to fetch and process the data, then maps each country to a rectangle filled with the default black color.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed