We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b99924 commit f611a5cCopy full SHA for f611a5c
docs/interactions/brush.md
@@ -25,7 +25,7 @@ The **brush mark** renders a two-dimensional [brush](https://d3js.org/d3-brush)
25
:::plot hidden
26
```js
27
Plot.plot({
28
- marks: ((brush) => (d3.timeout(() => d3.select(brush._brushNodes[0]).call(brush._brush.move, [[100, 60], [300, 200]])), [
+ marks: ((brush) => (d3.timeout(() => brush.move({x1: 36, x2: 48, y1: 15, y2: 20})), [
29
Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", stroke: "species"}),
30
brush
31
]))(Plot.brush())
0 commit comments