Skip to main content
100%

Top 15 Airports w.r.t. Origin using React+D3

✓ Published0🌍 Public
JJosvin John
Last edited Oct 7, 2020
Created on Sep 30, 2020

This visualization displays the top 15 airports by origin, ranked by flight count in descending order, with each airport color-coded and labeled by IATA code. The chart aggregates flight delay data from a CSV source using D3’s `csv` loader, then applies Vega-Lite transforms for filtering, grouping, counting, and ranking before rendering with React. Customized D3 axes are visible, and the visualization updates dynamically to fit the window size. The code integrates React, D3 v5, Vega-Lite, and Vega-Tooltip for interactive hover details.

AI-generated description

The data shown here comes from Flight Delay Analysis Dataset

This bar chart using React & D3 shows the Top 15 Airports with respect to Origin sorted by the number of flights from each airport in descending order.

Each Airport is denoted by a different color.

The Airports are represented by their IATA Codes.

This chart also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes