Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act8_task4

Public visualization

Viewing a saved revision (read-only)

596780f282f246a79599b3d92da21edb

act8_task4

0 stars0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This visualization uses a bubble chart to show the correlation between average horsepower, torque, and highway MPG for various car makes, with bubble size encoding MPG and color distinguishing makes. The code leverages d3.v7 with an SVG rendering approach, using d3.csv to load data, d3.scaleLinear for positioning and sizing, and d3.scaleOrdinal with d3.interpolateTurbo for coloring. Interactive tooltips appear on mouseover via d3 event handling. A legend displays the MPG bubble-size scale and a color-coded list of car makes.

AI-generated description

An example including some commonly used features of SVG.