Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

23fa31dbc68f4f269e20e37741f435f5

Activity6_Task4

0 stars0🌍 Public
Ttejaswiteju9811@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024

This bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each vehicle brand represented by a colored circle positioned by horsepower and torque while its size encodes fuel efficiency. The visualization uses D3.js v7 with SVG rendering, employing `d3.scaleOrdinal` with `d3.interpolateTurbo` for color assignment, `d3.scaleLinear` for positional and size scales, and interactive tooltips triggered by mouse events. Data comes from a CSV file containing per-make averages, and the chart includes dual legends for bubble size and make-color mapping. Animation is not present despite the metadata listing.

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.