🌍 Public
Viewing a saved revision (read-only)
f14c392cd30846fba0bf62ca44fc8f55
Activity 6 q4
This bubble chart displays the correlation between acceleration, top speed, and fuel efficiency for luxury car brands. Each circle’s position maps acceleration on the x-axis and top speed on the y-axis, while its radius encodes fuel efficiency using d3.scaleLinear. The code loads data from a CSV file and renders the SVG visualization with d3.axisBottom and d3.axisLeft. Interactive tooltips appear on mouseover events, showing each car’s specific metric values in a styled HTML div.
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.