Skip to main content
100%

Only Bar Chart no axisLabels

✓ Published0🌍 Public
SShantanu
Last edited May 25, 2021
Created on May 25, 2021
Forked from Pathetic Bar Chart

This visualization displays the ten most populous countries as horizontal bars, but omits all axis labels, tick marks, and value annotations, making the chart’s quantitative information difficult to interpret. The code loads United Nations World Population Prospects 2019 data via `d3.csv`, filters to the top ten rows, and maps country names to y-coordinates using `d3.scaleBand` while population values set bar widths through `d3.scaleLinear`. React renders each bar as an SVG `rect`, with the chart sized at 960 by 500 pixels.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes