Skip to main content
100%

Activity6_Task4

✓ Published1🌍 Public
LLokesh Madem
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower (x-axis), torque (y-axis), and highway MPG (bubble size and color) for 31 car makes. Each car brand is represented by a colored circle, with turbo color interpolation mapping distinct hues to each make. The D3.js v7 code loads CSV data, uses `d3.scaleLinear` for axes and bubble radius, and `d3.scaleOrdinal` for color assignment. Interactive tooltips reveal the car make on hover, while a legend displays MPG value scaling. The visualization is rendered as an SVG with smooth opacity transitions on mouse interactions.

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