Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

DV TASK-8(4)

Public visualization

Viewing a saved revision (read-only)

698e37c4c1334d29ac2611c6dd2f25ac

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

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.