Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ttebanieo
Last edited Feb 17, 2023
Created on Feb 16, 2023
Forked from D3 Starter

This example demonstrates a basic scatter plot where users can brush-select points to highlight them in red. It uses D3 version 7 to generate 200 random data points and render them as SVG circles. The brushing interaction is handled by `d3.brush()`, which triggers a callback that updates the fill color of selected points. The code uses `d3.select()` and the `.join()` API to efficiently manage the circle elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes