Skip to main content
Public

Share visualization

Loading preview…

Assignment #5 Bubble Chart

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

Assignment #5 Bubble Chart

0
Mmhzahdeh@dons.usfca.edu
Last edited Feb 25, 2025
Created on Feb 24, 2025

This bubble chart displays the relationship between car models, their fuel economy in miles per gallon, and engine cylinder count. Each car is represented as a circle positioned along the x-axis by car name and y-axis by economy rating, with circle radius encoding cylinder count. The visualization uses d3.csv to load sample.csv, d3.scaleBand for the categorical x-axis, d3.scaleLinear for the y-axis, and d3.scaleSqrt for the radius mapping. SVG circles are rendered directly into the DOM, with axes generated via d3.axisBottom and d3.axisLeft.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed