Accidents De France - Experimenting with Three.js and Data Visualization
ExperimentsWork in Progress

Accidents De France - Experimenting with Three.js and Data Visualization

March 27, 2026

I've been experimenting with a 3D visualization of French traffic accident data using Three.js, and it's been a fun work-in-progress.

The app pulls real data from data.gouv.fr, specifically the BAAC datasets covering 2020–2024, and renders thousands of accident points as GPU-accelerated particles over a map of France, complete with autoroute overlays and city labels. You can scrub through years, filter by time of day or weather conditions, and watch the scene shift from daylight to night as you go.

It's far from finished. There's plenty I'd still like to polish around the UI, performance, and data coverage, but it's already a satisfying proof of concept for what's possible when you combine open government data with WebGL in the browser.

Next in the backlog are some overall interactivity improvements for desktop and mobile, more complex filtering, weather effects and testing.