Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color

Public visualization

Viewing a saved revision (read-only)

7dab09c6172b4e17a67f76db7726db19

Fork of Scatter Plot with Color

0 stars2🌍 Public
Ccoreyfnolan@gmail.com
Last edited Mar 30, 2024
Created on Feb 20, 2024

This example presents a scatter plot of Cyber Attack data from the University of Maryland CISSM database, showing the relationship between event date and attacker actor, colored by industry type. A color legend and brush interaction allow users to highlight specific data points, which update the circle strokes dynamically. The visualization uses d3.scalePoint for both axes, d3.scaleOrdinal with schemeCategory10 for coloring, and a d3.brush to handle selection. Axes and legend are rendered through custom functions that leverage d3.axisLeft, d3.axisBottom, and d3-selection methods.

AI-generated description

A scatter plot of the Iris Dataset with a color legend.

See also: