Skip to main content
100%

Activity6_Task4

✓ Published0🌍 Public
Llikhitha.sarahah01@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

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 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