Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data Airline Loyalty

Public visualization

Viewing a saved revision (read-only)

375e29721f7b4edc99656a5e0fb097c2

Loading Data Airline Loyalty

0 stars0🌍 Public
Aadamsnothere@gmail.com
Last edited Aug 31, 2025
Created on Aug 31, 2025
Forked from Loading Data

This example demonstrates asynchronous data loading with D3 v7 by fetching an airline loyalty program CSV from Kaggle and displaying the parsed data as JSON. The visualization initially shows a loading state before `fetch()` retrieves the file and `csvParse` converts it into an array of objects. Numeric fields like Salary, CLV, and enrollment dates are coerced using unary plus operators. The `viz` function manages the render cycle through a state object, updating the displayed data once the loading completes.

AI-generated description

Airline Loyalty Program History: contains information about customer activity and demographics related to an airline's loyalty program, including a promotional campaign aimed at enhancing program enrollment.

The airline implemented a promotional campaign (2018 Promotion) aimed at enhancing program enrollment. The dataset encompasses information regarding:

Customer flight activity and loyalty points
Program signups and enrollment details
Cancellations within the loyalty program
Comprehensive customer demographics

https://www.kaggle.com/datasets/siddharth0935/airline-loyalty-program/data