Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Brushing

Public visualization

Viewing a saved revision (read-only)

8c51cfc543e54068bc746a29593403cc

Brushing

0 stars1🌍 Public
DDasbach.EJ
Last edited Jul 2, 2021
Created on Jul 2, 2021
Forked from Data Updating

This example demonstrates interactive brushing on a small scatter plot of weight and height data from a CSV file. Users drag a rectangular brush region to highlight data points, turning selected circles red and unselected ones blue. The visualization uses D3 v6 with an SVG rendering, a linear scale for both axes, and d3.brush to manage the selection. Points are positioned using transitions and axes are rendered with d3.axisLeft and d3.axisBottom.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.