Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

reusable scatter plot by umesh

Public visualization

Viewing a saved revision (read-only)

043daaf8da0f43419b9aeb4a247f70eb

reusable scatter plot by umesh

0 stars1🌍 Public
Uuguggila@gitam.in
Last edited Oct 26, 2025
Created on Oct 26, 2025

This reusable scatter plot visualizes the relationship between horsepower and top speed for 150 cars, with points colored by brand category (economy, luxury, or sports). Hovering over a point reveals a tooltip with the category and axis values. Built with D3 v7, the chart uses a custom `scatterPlot()` function that accepts configurable accessors for x, y, and color values, along with axis labels. The SVG output includes gridlines, ordinal color scaling, and data loaded from a CSV via `d3.csv`, demonstrating a modular visualization pattern.

AI-generated description