🌍 Public
Tutorial 4
This interactive bubble chart visualizes the relationship between average horsepower, torque, and highway MPG across 31 car makes, with bubble size encoding fuel efficiency and color distinguishing brands. Built with d3.v7, the SVG visualization includes hover tooltips showing make names, a legend for MPG values, and a color key for makes. It reads data from a CSV file using d3.csv, employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with interpolateTurbo for color assignment, and renders circles with mouse event handlers for interactive tooltips.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.