Skip to content

Commit 945d36a

Browse files
authored
Fix typo (#364)
1 parent 3818a8a commit 945d36a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ Most aggregation methods require binding the output channel to an input channel;
989989
Plot.binX({y: "sum"}, {x: "culmen_length_mm", y: "body_mass_g"})
990990
```
991991

992-
You can control whether a channel is computed before or after binning. If a channel is declared only in *options* (and it is not a special group-eligible channel such as *x*, *y*, *z*, *fill*, or stroke), it will be computed after binning and be passed the binned data: each datum is the array of input data correpsonding to the current bin.
992+
You can control whether a channel is computed before or after binning. If a channel is declared only in *options* (and it is not a special group-eligible channel such as *x*, *y*, *z*, *fill*, or stroke), it will be computed after binning and be passed the binned data: each datum is the array of input data corresponding to the current bin.
993993

994994
```js
995995
Plot.binX({y: "count"}, {x: "economy (mpg)", title: bin => bin.map(d => d.name).join("\n")})
@@ -1112,7 +1112,7 @@ Most aggregation methods require binding the output channel to an input channel;
11121112
Plot.groupX({y: "sum"}, {x: "species", y: "body_mass_g"})
11131113
```
11141114

1115-
You can control whether a channel is computed before or after grouping. If a channel is declared only in *options* (and it is not a special group-eligible channel such as *x*, *y*, *z*, *fill*, or stroke), it will be computed after grouping and be passed the grouped data: each datum is the array of input data correpsonding to the current group.
1115+
You can control whether a channel is computed before or after grouping. If a channel is declared only in *options* (and it is not a special group-eligible channel such as *x*, *y*, *z*, *fill*, or stroke), it will be computed after grouping and be passed the grouped data: each datum is the array of input data corresponding to the current group.
11161116

11171117
```js
11181118
Plot.groupX({y: "count"}, {x: "species", title: group => group.map(d => d.body_mass_g).join("\n")})

0 commit comments

Comments
 (0)