Skip to main content
100%

Activity 6_Task-4

✓ Published0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example uses D3 v7 to render an interactive bubble chart exploring the correlation between average horsepower, torque, and highway MPG across car brands. The SVG visualization plots each brand as a circle positioned by horsepower and torque, with circle size scaled to highway MPG and color encoded by car make via a custom ordinal scale. Users can hover over bubbles to see the brand name through a tooltip, and the chart includes a legend for MPG values and brand color mapping. The code imports D3 from UNPKG and loads data from a local CSV file.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes