🌍 Public
Viewing a saved revision (read-only)
36e5e236b8d14537be70c9ea8aa5485c
Making a Barchart!
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 descriptionA bare minimum HTML page.
See also React Starter.