Activity 6_Tutorial 4
✓ Published0🌍 Public
This example visualizes the correlation between average torque, horsepower, and highway MPG across multiple car makes using a bubble chart. Each circle represents a car make, positioned by horsepower on the x-axis and torque on the y-axis, with bubble size proportional to highway MPG and color encoding the make. The chart includes interactive tooltips, a legend for bubble sizes, and a color legend. It is built with D3 v7, using d3.csv for data loading, d3.scaleLinear for axes and sizing, and d3.scaleOrdinal for color mapping.
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