Activity_6_Tutorial 4
✓ Published0🌍 Public
This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position encodes horsepower (x-axis) and torque (y-axis), while its radius represents highway MPG, scaled linearly via d3.scaleLinear. Color is mapped to car make using a d3.scaleOrdinal with interpolated turbo colors. The SVG includes axes with labels, a size legend for MPG, and a color legend for makes. Interactive tooltips appear on mouseover, showing the make, using d3 event handlers. Data is loaded from a CSV file and animated with D3 v7 transitions.
AI-generated descriptionMIT Licensed