Skip to main content
100%

Axes Bar Chart UN Population 2019

✓ Published0🌍 Public
RRyan Murry
Last edited Jun 23, 2021
Created on Jun 23, 2021

This example visualizes the top ten countries in the UN Population 2019 dataset, ranking them by projected 2020 population using horizontal bars. D3’s `scaleBand` maps country names to the y-axis with labels from the data’s `Country` field, while a `scaleLinear` maps population counts to bar widths via `xScale`. Tick marks and labels are drawn manually for both axes, but no axis lines or titles are rendered. The chart is built with React and D3 v5, using SVG output and fetching data from a remote CSV.

AI-generated description

Axes Bar Chart on UN Population. Band and linear scale, no axis

MIT Licensed

Similar vizzes