Skip to main content
100%

Bar Chart Test

✓ Published1🌍 Public
NNyarmussa
Last edited Apr 12, 2020
Created on Apr 4, 2020
Forked from HTML Starter

This example shows a horizontal bar chart ranking the 23 most populated U.S. counties, with each bar labeled with its exact population count. The visualization uses React with D3 v5, employing `scaleLinear` for the x-axis and `scaleBand` for the y-axis, with `axisLeft` and `axisBottom` for ticks. Data from the CSV file is loaded via `csv()`, and bars are rendered as SVG `<rect>` elements. The chart includes a title, axis label, and a fixed 900×500 SVG canvas.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes