🌍 Public
Viewing a saved revision (read-only)
5f95e4f940964570a346b6ef49c58f8a
Activity-8_Task-4
This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes, using a bubble chart where the x-axis represents horsepower, the y-axis represents torque, and bubble size encodes highway MPG, with color distinguishing each make. The chart is built with D3 v7, rendering as SVG with animated tooltips. It employs d3.scaleLinear for axis and bubble sizing, d3.scaleOrdinal for color mapping, and d3.csv to load data from a local CSV file. A legend displays bubble size values and color-coded car makes.
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.