Crash Distribution
✓ Published1🌍 Public
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 descriptionMIT Licensed