Skip to main content
100%

Viz - Point - Brushend

✓ Published0🌍 Public
NNPashaP
Last edited Jan 20, 2018
Created on Jan 20, 2018

This example demonstrates a scatterplot of 1,000 randomly generated points, rendered as SVG circles. Users can drag a rectangular brush over the plot to select points, which then turn blue and gain black outlines. The visualization uses the `viz.point()` charting API to generate the plot, while a `d3.brush()` instance handles the selection interaction. On brush end, `point.filterRect()` identifies points within the selection rectangle and updates their CSS class accordingly.

AI-generated description
gpl-3.0 Licensed

Similar vizzes