🌍 Public
Viewing a saved revision (read-only)
033a2b2a13c74e7ca3d993e353749cbf
Activity8_Task-4
This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes, with each bubble sized by MPG and colored by make. The chart uses D3.js v7 to create an SVG scatterplot with a tooltip that appears on mouseover, revealing the make of each vehicle. The code employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with interpolateTurbo for colors, and includes a legend for MPG values and color-coded car brands. Data comes from a local 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.