🌍 Public
Viewing a saved revision (read-only)
f12c1b0a2a6c40098ad93ffcfa5517ba
Activity6 Q4
This bubble chart visualizes the correlation between the number of cylinders, engine displacement, and city MPG for various car models. Each circle represents a car, with its x-position mapped to cylinders, y-position to displacement, and circle size encoding city MPG, while color differentiates car brands. The visualization includes interactive tooltips on hover, a legend for city MPG values, and a color legend for brands. Built with D3.js v7, the code uses SVG rendering, scaleLinear for axes and bubble size, and scaleOrdinal for color mapping.
AI-generated descriptionA demonstration of how to start using D3 version 6.