Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
SSwapna1915
Last edited Jul 25, 2023
Created on Jul 25, 2023
Forked from Stylized Bar Chart

This example displays the top 10 most populated countries as horizontal bars, sorted by population density. The visualization uses React for component structure and D3 v5 scales (scaleBand, scaleLinear) to map data values to screen coordinates. The SVG rendering relies on D3’s max, format, and CSV parsing utilities to load and prepare the data from an Amazon products dataset. Tooltips appear on hover via native SVG title elements, while axis ticks and labels are styled with CSS classes.

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