Skip to main content
100%

Crash Distribution

✓ Published1🌍 Public
DDouglas mochama
Last edited Apr 10, 2024
Created on Apr 10, 2024

This bar chart visualizes the distribution of airplane crashes by operator, allowing users to adjust the number of operators displayed via a slider. The chart is rendered as an SVG using D3.js (v7), aggregating the data with `d3.rollup` and sorting operators by crash count in descending order. Bars are drawn with `d3.scaleBand` and `d3.scaleLinear`, with axes labeled and rotated for readability. Interactivity is handled through an `input` event listener on the range slider, which dynamically updates the chart without reloading the dataset from the provided CSV source.

AI-generated description
MIT Licensed

Similar vizzes