Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question4

Public visualization

Viewing a saved revision (read-only)

f375d9f298f34c5a95042e57df514735

Activity6_Question4

0 stars0🌍 Public
Aa9.hemraj@gmail.com
Last edited Oct 31, 2025
Created on Oct 31, 2025

This bubble chart displays the relationship between average horsepower and average torque for car makes, with bubble size representing average price and color distinguishing manufacturing regions (Asia, Europe, America). It uses D3 v7 to load CSV data via `d3.csv`, scales the x- and y-axes with `scaleLinear`, maps region colors with `scaleOrdinal`, and encodes price through a square-root scale (`scaleSqrt`). Data is rendered as SVG circles, with tooltip-free legends and formatted axis labels generated using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description