Skip to main content
100%

tutorial_4

✓ Published0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes