Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Plot with React & D3 for Airline Rating Data

Public visualization

Viewing a saved revision (read-only)

a56c107aff4d441aa07c2ef63fd9b02f

Bar Plot with React & D3 for Airline Rating Data

0 stars2🌍 Public
Aadamsnothere@gmail.com
Last edited Sep 24, 2025
Created on Sep 23, 2025

This example shows a horizontal bar plot ranking the top 15 airlines by their average overall rating, derived from an airline quality dataset. Bars are color-coded on a red-to-green gradient to reflect rating scores. The visualization is built using React and D3, with D3’s `csv` for data loading, `group` and `mean` for aggregation, and `scaleLinear` and `scaleBand` for scales. Axes and labels are rendered via D3’s `axisBottom`, `axisLeft`, and custom label functions.

AI-generated description

Airline Reviews Dataset from airlinequality.com! This incredible resource contains valuable insights waiting to be explored. Let's embark on this exciting journey together to discover customer sentiments, analyze trends over time, predict ratings, and more, all aimed at improving airline experiences and creating happier passengers.