🌍 Public
Viewing a saved revision (read-only)
5e7f39f4360c4c83a2536e437e4405c3
Survival rates in airplane crash
This interactive scatter plot visualizes survival rates in aircraft incidents, plotting the number of people aboard against fatalities for each incident. A dropdown menu filters the data by year, while hovering over a point reveals exact values via a tooltip. The visualization also displays the average survival rate in a separate panel. Using D3.js, the chart loads data from a Google Sheets CSV, computes survival rate as aboard-minus-fatalities divided by aboard, and renders SVG circles with scales and axes.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.