Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

DV TASK-8(4)

Public visualization

DV TASK-8(4)

0 stars0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

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 description

Comments

Sign in to join the discussion.

MIT Licensed