Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 4

Public visualization

Activity 6_Task 4

0 stars0🌍 Public
Nnarasimhacharyulu010@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This D3.js bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle’s x-position maps to horsepower, y-position to torque, and radius to highway MPG, while color encodes the car manufacturer using `d3.interpolateTurbo`. The chart features interactive tooltips on hover and includes a legend for bubble size and color. Data is loaded from a local CSV using `d3.csv`, with axes and scales built via `d3.scaleLinear` and `d3.axisBottom`/`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.

Comments

Sign in to join the discussion.

MIT Licensed