Skip to main content
100%

task-8(question-4)

✓ Published0🌍 Public
DDivyaKota2@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across ten car makes. Each circle’s position encodes torque and horsepower on the axes, while its size maps to highway MPG and its color distinguishes the car brand. The visualization uses D3 v7 with SVG rendering, including a tooltip for make identification on mouseover, a size legend, and a color legend. Data is loaded from a local CSV file using `d3.csv`, with scales built via `d3.scaleLinear` and `d3.scaleOrdinal`, and colors assigned using `d3.interpolateTurbo`.

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