Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment8-task4

Public visualization

Viewing a saved revision (read-only)

bcd2fdb1ffae4693b9348564c973d141

Assignment8-task4

0 stars0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity-6

This interactive bubble chart shows the correlation between average horsepower, torque, and highway MPG for ten Toyota models, with bubble size encoding MPG and color distinguishing vehicle make. The visualization uses D3.js v7 with SVG rendering and includes hover tooltips displaying the make name. The code employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with d3.interpolateTurbo for color mapping, and mouse event handlers for tooltip interactivity. Data comes from the T4BC.csv file, and the chart features a legend illustrating MPG value scaling.

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.