Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Color Menu

Public visualization

Viewing a saved revision (read-only)

f6a4a2a33e18482c8e58421c46d947db

Scatter Plot with Color Menu

0 stars2🌍 Public
KKhatera Alizada
Last edited Apr 15, 2023
Created on Mar 19, 2023

This interactive scatter plot lets users explore healthcare cost data by selecting X, Y, and color attributes from dropdown menus. The D3 v5 visualization uses a time-based X-axis for the year column and linear scaling for other metrics, with color encoding via `scaleOrdinal` and `schemeCategory10`. A `colorLegend` component displays the categorical scale, while the `scatterPlot` module animates circles with `transition().duration(2000)` as users change selections, all rendered as SVG elements.

AI-generated description

A modification of the original Scatter Plot with Menus showing the addition of a color attribute selector menu.