🌍 Public
DV TASK-8(4)
This interactive D3.js bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle represents a car brand, positioned by its horsepower (x-axis) and torque (y-axis), with the circle's radius scaled to its highway MPG value using `d3.scaleLinear`. The color of each bubble is assigned via `d3.scaleOrdinal` and the `d3.interpolateTurbo` color scheme to distinguish makes. Hovering over a bubble triggers tooltips that display the make name. The SVG rendering includes axes, labels, and a legend for the MPG scale, all configured with `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.