Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Question-4

Public visualization

Viewing a saved revision (read-only)

81ed302d5e8f48899f09c62e78c2f4c0

Activity-6_Question-4

0 stars0🌍 Public
Pphanisrivinnakota@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from HTML Starter

This bubble chart displays the relationship between average horsepower, average torque, and highway MPG for various car makes. Using D3.js version 7, the visualization maps horsepower to the x-axis and torque to the y-axis, with each make represented by a colored circle sized at a constant radius of 600 pixels. The code loads data from a CSV file and employs `d3.scaleLinear` for both axes, while `d3.scaleOrdinal` with `d3.schemeCategory10` assigns distinct categorical colors to differentiate car manufacturers.

AI-generated description