Skip to main content
100%

Activty7 Task5

✓ Published0🌍 Public
HHarshithaAmbilpur
Last edited Jul 21, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle is positioned by horsepower on the x-axis and torque on the y-axis, while its size encodes highway MPG. The chart uses D3.js v7 with SVG rendering and includes interactive tooltips that display the car make on hover. A legend communicates the MPG scale, and a color scale differentiates brands. The data is loaded via `d3.csv` from a local CSV file, with axes, scales, and animation built using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`.

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.
MIT Licensed

Similar vizzes