Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Airplane Crashes and Fatalities Since 1908

Public visualization

Viewing a saved revision (read-only)

25e81178e71341de8e5aa6d68409d478

Airplane Crashes and Fatalities Since 1908

0 stars0🌍 Public
Sstchiang
Last edited Jan 23, 2023
Created on Jan 23, 2023
Forked from Loading Data

This example displays the raw contents of an airplane crashes and fatalities dataset, loaded from a CSV file and rendered as a JSON-formatted text preview. The visualization initially fetches the data using the Fetch API, parses it with `d3.csvParse`, and converts numeric fields to numbers. The `viz` function manages the loading state, showing a "LOADING" placeholder until the data arrives, then updates the display via a `setState` callback. The interface uses D3 v7 for DOM selection and rendering, presenting the parsed records in a simple `<pre>` element.

AI-generated description

This dataset contains a list of notable airplane crashes and fatalities since 1908. This dataset originated from https://www.kaggle.com/datasets/thedevastator/airplane-crashes-and-fatalities, and slightly modifided with the removal of a few columns to condense the dataset a little bit.

Link to Gist here: https://gist.github.com/stchiang/212b69422ca5bcd9bc204b24e59f85dd