Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial Task 4

Public visualization

Tutorial Task 4

0 stars0🌍 Public
Pperamranji
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Hello VizHub

This visualization displays the correlation between average horsepower, torque, and highway MPG across various car makes. Each bubble’s position maps horsepower on the x-axis and torque on the y-axis, while its size and color encode fuel efficiency via a linear scale and a sequential viridis color scale. The code uses d3.csv to load data, d3.scaleLinear for axes and radii, and d3.scaleSequential for coloring. Interactive tooltips appear on mouseover, and a gradient legend clarifies the MPG color mapping.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed