Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Airline_delay_count

Public visualization

Viewing a saved revision (read-only)

549e3753d6b7498daae28b8c26954f2d

Airline_delay_count

0 stars0🌍 Public
Yyinhao0424
Last edited Sep 16, 2019
Created on Sep 10, 2019

This visualization shows the number of flight delays for each airline using a bar chart, sorted in descending order. It plots the COUNT of records per airline on the vertical axis, with airlines on the horizontal axis, colored orange. The code loads flight delay data from a CSV file via `d3.csv` and uses `vega-lite-api` to create the chart, with `vl.markBar`, `vl.x().fieldN('AIRLINE')`, and `vl.y().fieldN('AIRLINE').count()`. Custom styling is applied through a Vega-Lite config file, and the view is rendered to canvas with `vega-tooltip` for interactivity.

AI-generated description

This visualization shows the flight delay dataset. It uses a barchart to show the number of delay times of each flight company.