🌍 Public
Viewing a saved revision (read-only)
0c8fd8c086b94a4eb1cb7bae76a8f610
Q3
A bubble chart displays average horsepower and highway MPG for car makes from a CSV dataset, with each bubble color-coded by category (Luxury, Sports, Economy, Other) using D3.js v7’s scaleOrdinal and Papa Parse for data loading. The chart uses SVG circles for marks and a legend to map categories to colors, while axes and labels are drawn with d3.axisBottom and d3.axisLeft.
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.