Skip to main content
100%

act8_task4

✓ Published0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from A5 Bubblechart D3

A bubble chart shows the relationship between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower and torque on the x- and y-axes, while its radius represents highway MPG and its color distinguishes the manufacturer. Built with D3 v7, the chart uses `d3.scaleLinear` for axes and sizing, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color, and includes an interactive tooltip on mouseover plus a legend for MPG values. Data comes from a local CSV file.

AI-generated description

Took inspiration from my old scatterplot from A4.

Had Chatgpt help with the colorScale function and general attributes.

MIT Licensed

Similar vizzes