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)

3a529ab850aa4c579dddfb5ec37722e2

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