🌍 Public
Viewing a saved revision (read-only)
e6fcd63a745f407c8d8b37f549e746e6
Fork of Scatter Plot with Color
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 descriptionA scatter plot of the Iris Dataset with a color legend.
See also: