Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
MModalMBS
Last edited Sep 21, 2020
Created on Sep 21, 2020
Forked from Let's make a face

This example shows a horizontal bar chart displaying population counts for several countries. The chart uses D3 v6 APIs including `csv` for data loading, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` for axes. Rendered as SVG in a React project, the bars are appended as `rect` elements with dimensions determined by the scales. The data assigns numeric population values from a CSV file, multiplying them by 1000 before visualization.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes