Skip to main content
100%

Activity-6_Task-4

✓ Published1🌍 Public
HHarshathBudida@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with bubble size representing fuel efficiency and color encoding car brand. The D3 v7 visualization reads data from a CSV file and uses d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal for color mapping, and d3.interpolateTurbo for the color palette. Interactive tooltips appear on mouseover using d3 event handlers, while a legend displays both bubble size values and color-coded makes. The SVG rendering includes axis labels, a title, and animated hover effects.

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