Skip to main content
100%

D3.js

✓ Published0🌍 Public
Aaizazhussain234
Last edited May 31, 2020
Created on May 31, 2020
Forked from D3.js

A bar chart displays population counts for ten countries, using horizontal bars to compare values from a CSV dataset. The visualization renders as an SVG element with a light gray background, where bar lengths correspond to population magnitudes via a linear scale. Built with React and D3 v5, the code uses `d3.csv` to load data, `d3.max` for domain calculation, and SVG `rect` elements styled with steelblue fills. The y-axis positions are mapped using `d3.scaleBand`, though no axis labels or tick marks are rendered in the final output.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes