Skip to main content
100%

Activity 6_task 4

✓ Published0🌍 Public
Jjampani921@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bubble chart shows the correlation between average horsepower, torque, and highway MPG across various car makes, with each circle's position representing horsepower and torque, its size encoding MPG, and its color distinguishing the manufacturer. Built with D3 v7, the visualization uses scales like `d3.scaleLinear` for axes and bubble radius, and `d3.scaleOrdinal` with an interpolated Turbo colormap for categorical colors. Interactive tooltips appear on mouseover, and a legend displays both the MPG size scale and color categories. Data comes from the `bubblechart.csv` file, rendered as SVG elements with animated opacity transitions.

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