Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

b481fd7c43db4079807cf1a10b7c4d0d

Activity6_Task4

0 stars1🌍 Public
Ggouthamigongidi2457@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble’s position mapping horsepower on the x-axis and torque on the y-axis, while radius encodes MPG and color distinguishes manufacturers. The visualization includes an interactive tooltip that displays the car make on hover, plus legends for both bubble size and color categories. The chart is rendered as SVG using D3 v7, employing `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color assignment, and event handlers for tooltip display. Data comes from a CSV file with aggregated averages per make.

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.