🌍 Public
Viewing a saved revision (read-only)
7374a175f5394e0480da3ac377bf4b94
Task-4-Tutorial-4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius scales with highway MPG using a linear scale (`d3.scaleLinear`). A tooltip displays the make on hover, and a legend maps both MPG values and car makes to size and color, using `d3.interpolateTurbo` for the ordinal color scale. The SVG is rendered with D3 v7, reading data from a CSV file.
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.