Skip to content

Commit a7c6aba

Browse files
committed
document geo+centroid
closes #1651
1 parent 5744399 commit a7c6aba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/marks/geo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Plot.plot({
128128
```
129129
:::
130130

131+
The geo mark doesn’t have **x** and **y** channels; to derive those, for example to add [interactive tips](https://observablehq.com/@observablehq/plot-maps-tips), you can apply a [centroid transform](../transforms/centroid.md) on the geometries.
132+
131133
The geo mark supports [faceting](../features/facets.md). Below, a comic strip of sorts shows the locations of Walmart store openings in past decades.
132134

133135
:::plot defer https://observablehq.com/@observablehq/plot-map-large-multiples

0 commit comments

Comments
 (0)