Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task4

Public visualization

Viewing a saved revision (read-only)

9db64cc3e1554285bceeb2391d894e3f

Task4

0 stars1🌍 Public
FFayezuddin Mohammed Khan
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from HTML Starter

This visualization shows the relationship between average horsepower, torque, and highway MPG for various car makes. Each bubble represents a car brand, positioned by horsepower on the x-axis and torque on the y-axis, with bubble size encoding highway fuel efficiency and color distinguishing makes. The code loads data from a CSV file using d3.csv, applies linear scales to both axes and a sqrt scale for bubble radius, and renders circles as SVG elements. Interactive tooltips appear on hover using D3 event listeners, and axis labels and a title are generated with SVG text elements.

AI-generated description