Skip to main content
100%

Flight Delay Prediction CSV Data - Loading and Parsing

✓ Published0🌍 Public
JJosvin John
Last edited Sep 10, 2020
Created on Sep 10, 2020

This example loads and parses a CSV dataset of flight delay predictions for January 2020, displaying the file size, row count, and column count as plain text. Using D3 v5, it fetches the data via `d3.csv`, formats the summary with `d3.csvFormat`, and writes the result into a large `<pre>` element. The code also includes commented alternatives using `fetch` with async/await and `d3.csvParse`, as well as a nested promise chain. The visualization emphasizes data loading mechanics over graphical encoding.

AI-generated description

A program that loads and parses CSV data: Flight Delay Prediction for January.

Possible Tasks

  • The concentration of delay and non-delay both on departure and on arrival?
  • The proportion of delayed flights that were diverted?
  • Are delays due to day_of_week and day_of_month?
  • The concentration of delays by 'DEP_TIME_BLK'?
  • Which airport in Origin stands out in delays?
  • Which airport in Destination stands out in delays?
MIT Licensed

Similar vizzes