Skip to main content
100%

Accidents on the Road - Choropleth

✓ Published0🌍 Public
TTaustus
Last edited Sep 2, 2020
Created on Sep 2, 2020

This choropleth visualizes road accident data as a map of regions, colored by the number of incidents. The map shows geographic patterns of accident frequency, with darker shading indicating higher counts. Built with React and D3 v5, it uses `d3.csvParse` to load the input data and `topojson` to render the geographic boundaries. The `d3.geoPath` generator draws the region shapes, while a color scale encodes the accident values. A legend and tooltip provide context, with the tooltip appearing on hover to display the region’s specific accident count. The rendering uses SVG paths with styling defined in CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes