🌍 Public
Viewing a saved revision (read-only)
ebc38f8dc6cf4b4999af93cc82ae4938
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.