Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

700b8557b6794ada958a9f8f11251d64

Untitled

2 stars0🌍 Public
Ssmeiljoe
Last edited Mar 20, 2021
Created on Feb 25, 2021
Forked from HTML Starter

A force-directed bubble chart displays cars from the classic Motor Trends dataset, grouping models by brand origin (domestic, Japanese, or European) into colored clusters. The SVG visualization encodes each car's horsepower as the circle radius and labels nodes with truncated model names, while acceleration and MPG values are excluded from the visual mapping. Built with D3 v3, the layout uses `d3.layout.force` with custom cluster and collision functions to separate groups while preventing overlap. The ordinal color scale assigns blue, red, and gray to the three regional categories.

AI-generated description