Skip to main content
100%

Task4

✓ Published1🌍 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
MIT Licensed

Similar vizzes