Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart Test

Public visualization

Viewing a saved revision (read-only)

f8d20f260c3c4f3ba6202efce674180b

Bar Chart Test

0 stars1🌍 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.