Skip to main content
100%

Fork of Fork of Stylized Bar Chart

✓ Published0🌍 Public
MMar-99
Last edited Mar 28, 2022
Created on Mar 28, 2022

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 description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes