Fork of Hello VizHub
✓ Published5🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Using D3.js, it plots horsepower on the x-axis, torque on the y-axis, and scales bubble radius by MPG, with color encoding by make. The code loads data from a CSV via `d3.csv`, uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for colors, and renders SVG circles with hover tooltips showing each make's name.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed