Skip to content

Commit fe1116b

Browse files
authored
Remove reference to penguins in group transform docs (#1716)
1 parent 5f045ce commit fe1116b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/transforms/group.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import * as Plot from "@observablehq/plot";
44
import * as d3 from "d3";
55
import {shallowRef, onMounted} from "vue";
6-
import penguins from "../data/penguins.ts";
76

87
const olympians = shallowRef([{weight: 31, height: 1.21, sex: "female"}, {weight: 170, height: 2.21, sex: "male"}]);
98

@@ -41,7 +40,7 @@ Plot.plot({
4140
Ordinal domains are sorted naturally (alphabetically) by default. Either set the [scale **domain**](../features/scales.md) explicitly to change the order, or use the mark [**sort** option](../features/scales.md#sort-mark-option) to derive the scale domain from a channel.
4241
:::
4342

44-
The groupX transform groups on **x**. The *outputs* argument (here `{y: "count"}`) declares desired output channels (**y**) and the associated reducer (*count*). Hence the height of each bar above represents the number of penguins of each species.
43+
The groupX transform groups on **x**. The *outputs* argument (here `{y: "count"}`) declares desired output channels (**y**) and the associated reducer (*count*). Hence the height of each bar above represents the number of Olympic athletes by sport.
4544

4645
<!-- For example, to sort **x** by descending **y**: -->
4746

0 commit comments

Comments
 (0)