Activity6_Task4
✓ Published0🌍 Public
A D3.js bubble chart visualizes the correlation between a vehicle's cylinders, CO2 emissions, and engine size, using data from a CSV file. Each bubble's x-axis position corresponds to cylinder count, y-axis position to CO2 emissions, and radius to engine size, with colors representing different car makes. Interactive tooltips display the make on hover. The chart includes a legend for engine size and uses a color scale based on make. It is rendered with SVG and animation, using D3's `scaleLinear`, `scaleOrdinal`, `interpolateTurbo`, `axisBottom`, `axisLeft`, and event listeners.
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