Tutorial_4_Sivani
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes using data from a CSV file. The D3 v7 visualization renders circles as SVG elements, with x and y axes mapping horsepower and torque while bubble size and color encode MPG and car make. Users can hover over individual bubbles to reveal tooltips displaying the make, and a legend demonstrates how circle size corresponds to MPG values using d3.scaleLinear and d3.scaleOrdinal with interpolated turbo colors.
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