Skip to content

Commit

Permalink
document geo+centroid
Browse files Browse the repository at this point in the history
closes #1651
  • Loading branch information
Fil committed May 31, 2023
1 parent 5744399 commit a7c6aba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/marks/geo.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Plot.plot({
```
:::

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.

The geo mark supports [faceting](../features/facets.md). Below, a comic strip of sorts shows the locations of Walmart store openings in past decades.

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

0 comments on commit a7c6aba

Please sign in to comment.