Skip to main content
Public

Share visualization

Loading preview…

Activity 6 Question 4

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 6 Question 4

0
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

Comments

Sign in to join the discussion.

MIT Licensed