Skip to main content
100%

Activity6_task 4

✓ Published0🌍 Public
Ppravallikachowdary16518@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across various car makes. Each bubble's x-position maps to horsepower, y-position to torque, and size to highway MPG, while color distinguishes car brands. Built with D3.js (v7), it renders as an SVG with animated transitions. The visualization includes axes, a bubble size legend for MPG values, and a tooltip that appears on mouseover. Data is loaded from a remote CSV file using `d3.csv`. The chart uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for color, and `d3.interpolateTurbo` for the color palette.

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