Skip to main content
100%

Activity-6_Question-4

✓ Published0🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 25, 2024
Created on Oct 23, 2024
Forked from D3 Starter

This bubble chart shows the relationship between engine cylinders, displacement, and city MPG for various car brands, with each bubble’s position encoding cylinder count and displacement while its size maps to city MPG. Color distinguishes brand, and hovering reveals the brand name via a tooltip. The visualization uses d3.csv to load data, d3.scaleLinear for positioning and sizing, d3.scaleOrdinal with d3.interpolateTurbo for color, and d3.axisBottom/axisLeft for axes. It includes a legend for bubble size and brand colors, rendered as SVG circles with mouse event handlers for interactivity.

AI-generated description
MIT Licensed

Similar vizzes