Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6-Tutorial4-Rashmitha

Public visualization

Viewing a saved revision (read-only)

14f0604ff3d34415a927953557e4245c

Activity6-Tutorial4-Rashmitha

0 stars1🌍 Public
Rrashmithatanneru@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble’s position encoding horsepower (x-axis) and torque (y-axis), while its size and color represent highway MPG values. Built with D3 v7, the SVG rendering uses `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color mapping, and `d3.csv` to load the data. Interactive tooltips appear on mouseover via D3 event handlers, and a legend encodes bubble size with labeled circles and color with small dots for each 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.