Skip to main content
100%

srinivas tutorial4

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

This interactive bubble chart examines the relationship between average horsepower, torque, and highway MPG across different car makes. Using a dataset from `bubblechart.csv`, the visualization employs x- and y-axes for horsepower and torque, with bubble size encoding MPG and color distinguishing vehicle brands via `d3.scaleOrdinal` and `d3.interpolateTurbo`. The D3.js code (v7) renders SVG elements with smooth transitions on hover, displaying tooltips via mouseover, mousemove, and mouseleave events, and includes a legend for MPG values.

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