Fork of Fork of Stylized Bar Chart
✓ Published0🌍 Public
This stylized bar chart displays the top 10 most populous countries, using horizontal bars to compare populations. Built with D3 v5 and React, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles in the `Marks` component. The data originates from the UN World Population Prospects 2019, formatted with D3’s `format` to abbreviate large numbers. Axes are drawn explicitly via `AxisBottom` and `AxisLeft`, with a "Cocoa" axis label overlaid.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed