tutorial_4
✓ Published0🌍 Public
This chart visualizes the correlation between average torque, horsepower, and highway MPG across several car makes. Each bubble’s position is determined by its horsepower and torque, while its radius and color encode highway MPG and car brand, respectively. The code uses d3.csv to load data, d3.scaleLinear for axes and size, and d3.scaleOrdinal with d3.interpolateTurbo for color mapping. Interactive tooltips appear on mouseover, and a legend explains the size scale for highway MPG.
AI-generated descriptionMIT Licensed