Skip to main content
100%

Making a Barchart!

✓ Published0🌍 Public
KKevin Bolger
Last edited Feb 23, 2020
Created on Feb 22, 2020

This example shows a horizontal bar chart displaying the `c1` values for three peril categories from a CSV file. The chart uses D3 v5 to load the data, create linear and band scales, and render SVG rectangles with axes. The code explicitly imports `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` from D3, and it converts string values to numbers before rendering.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes