Fork of Refactored Bar Chart
✓ Published0🌍 Public
This fork of a refactored bar chart displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset using React and D3 v5. Horizontal bars are rendered as SVG rectangles via the `Marks` component, scaled with `scaleBand` for the y-axis and `scaleLinear` for population values. The chart includes labeled axes using `AxisBottom` and `AxisLeft`, with population formatted using D3’s `format('.2s')`. Data is loaded asynchronously via `csv` and `useEffect`.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed