Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Ssherryyx
Last edited Jan 20, 2020
Created on Jan 16, 2020
Forked from Untitled

This example shows a simple bar chart comparing the number of "poots" for three categories: Cats, Dogs, and Ants. The visualization uses D3 v5 within a React framework to render the SVG. The code employs `scaleLinear` for the x-axis and `scaleBand` for the y-axis, then draws the bars with SVG `rect` elements. Data is loaded from a CSV file using `csv` and parsed with `d3.max`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes