Skip to main content
100%

Bubble chart

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This bubble chart shows the correlation between average horsepower (x-axis), torque (y-axis), and highway MPG (bubble size, color) for various car makes. The visualization uses a categorical color scale generated with `d3.interpolateTurbo` for make identification, with axes created via `d3.axisBottom` and `d3.axisLeft` from `d3.scaleLinear`. Hovering over a circle reveals a tooltip with the vehicle make, styled via CSS and positioned using SVG event coordinates. Data is loaded from a CSV file using `d3.csv`. A legend maps bubble size to MPG values and color-coded dots identify each brand.

AI-generated description
MIT Licensed

Similar vizzes