Skip to main content
100%

Activity 6 Question 4

✓ Published0🌍 Public
BBharath Vupputuri
Last edited Apr 4, 2025
Created on Apr 4, 2025

This bubble chart visualizes airline ticket sales data from a CSV, plotting the number of routes on the x-axis against average ticket price on the y-axis. Each circle’s area encodes passenger volume, while color distinguishes airlines, with a legend and interactive tooltips showing exact values. The visualization uses D3 v7’s `scaleLinear`, `scaleSqrt`, and `scaleOrdinal` APIs to map data dimensions to visual encodings, rendered as SVG circles. Animated tooltips appear on hover, and the chart includes labeled axes and a title, all built with D3’s selection and layout methods.

AI-generated description
MIT Licensed

Similar vizzes