Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity-6-Task4

Public visualization

Fork of Activity-6-Task4

0 stars0🌍 Public
LLayaMyadam@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity-6-Task-4

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each circle’s size encoding MPG and color distinguishing the brand. Hovering reveals the make via a tooltip. Built with d3.v7, it uses d3.csv to load data, d3.scaleLinear for axes and bubble radius, and d3.scaleOrdinal with d3.interpolateTurbo for color mapping. The SVG also includes a custom legend for MPG values and brand color swatches, with mouseover, mousemove, and mouseleave events driving the tooltip interactions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed