Fork of Refactored Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset as horizontal bars. The chart uses React with D3 v5 utilities, including `scaleBand` for the y-axis country categories, `scaleLinear` for the population x-axis, and `csv` to load and parse the data from a GitHub gist. Axes are rendered as separate SVG components (`AxisBottom` and `AxisLeft`), while `Marks` draws the rectangles. The visualization shows population values without numerical tick labels on the x-axis, presenting data in a clean, unlabeled bar layout.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed