Skip to main content
100%

viz_2

✓ Published0🌍 Public
HHuldahMerlinKolli
Last edited May 4, 2023
Created on May 4, 2023
Forked from Pathetic Bar Chart

This visualization displays the top 10 most populous countries as a bar chart, though it lacks axes and labels, making the data difficult to interpret. The bars are rendered as SVG rectangles using React’s declarative component structure, with D3’s `scaleBand` and `scaleLinear` handling the positional and length scaling. The dataset is loaded asynchronously via D3’s `csv` from a remote URL, and the chart updates once the data arrives. The code uses D3 v5 and React 16.9, with the visualization outputting directly to an SVG canvas.

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