Skip to content

Commit 050c21d

Browse files
authored
Docs showcase page (#401)
Just a start for #364 cc @jaanli This is copied from geoarrow-rust for now. The idea is to have a grid of some sort, with a title, some text, and an image per example. <img width="1379" alt="image" src="https://github.com/developmentseed/lonboard/assets/15164633/e810d4ee-cc04-4d6d-a4aa-3d7b65f86f61">
1 parent f44905e commit 050c21d

File tree

6 files changed

+30
-2
lines changed

6 files changed

+30
-2
lines changed

assets/color-picker.jpg

113 KB
Loading

assets/jupyter-sidecar.jpg

997 KB
Loading
406 KB
Loading

assets/rivers-asia.jpg

495 KB
Loading

examples/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Examples
2+
3+
<div class="grid cards" markdown>
4+
5+
- [Speedtest data ![](../assets/scatterplot-layer-network-speeds.jpg)](../examples/internet-speeds) using [`ScatterplotLayer`](../api/layers/scatterplot-layer)
6+
- [North America roads ![](../assets/path-layer-roads.jpg)](../examples/north-america-roads) using [`PathLayer`](../api/layers/path-layer)
7+
- [U.S. County-to-County Migration ![](../assets/arc-layer-migration-example.gif)](../examples/migration) using [`ArcLayer`](../api/layers/arc-layer) and [`BrushingExtension`](../api/layer-extensions/brushing-extension)
8+
- [Scatterplot with GPU data filtering ![](../assets/data-filter-extension.gif)](../examples/data-filter-extension) using [`ScatterplotLayer`](../api/layers/scatterplot-layer) and [`DataFilterExtension`](../api/layer-extensions/data-filter-extension)
9+
- [Color picker integration ![](../assets/color-picker.jpg)](../examples/integrations/color-picker) using [`SolidPolygonLayer`](../api/layers/solid-polygon-layer)
10+
- [JupyterLab Sidecar integration ![](../assets/jupyter-sidecar.jpg)](../examples/integrations/sidecar/) using [`ScatterplotLayer`](../api/layers/scatterplot-layer) and [`JupyterLab Sidecar`](https://github.com/jupyter-widgets/jupyterlab-sidecar)
11+
- [Motor Vehicle Crashes in NYC ![](../assets/motor-vehicle-crashes-nyc.jpg)](../examples/map_challenge/1-points) using [`ScatterplotLayer`](../api/layers/scatterplot-layer)
12+
- [Rivers in Asia ![](../assets/rivers-asia.jpg)](../examples/map_challenge/6-asia/) using [`PathLayer`](../api/layers/path-layer)
13+
14+
</div>
15+
16+
## Third-party showcase
17+
18+
These examples are maintained by external contributors.
19+
20+
<div class="grid cards" markdown>
21+
22+
- [American Community Survey exploration ![](https://s13.gifyu.com/images/SCGH2.gif)](https://github.com/jaanli/lonboard/blob/1af815ea586121dbbe0d8cae70f7814a642ad165/examples/american-community-survey.ipynb) using [`ScatterplotLayer`](../api/layers/scatterplot-layer) and [`DataFilterExtension`](../api/layer-extensions/data-filter-extension) by [@jaanli](https://github.com/jaanli).
23+
24+
</div>

mkdocs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ extra:
2121

2222
nav:
2323
- "index.md"
24-
- Example Notebooks:
24+
- Examples:
25+
- examples/index.md
2526
- examples/internet-speeds.ipynb
2627
- examples/north-america-roads.ipynb
2728
- examples/migration.ipynb
@@ -177,12 +178,15 @@ markdown_extensions:
177178
guess_lang: false
178179
- def_list
179180
- footnotes
181+
- md_in_html
180182
- pymdownx.arithmatex
181183
- pymdownx.betterem
182184
- pymdownx.caret:
183185
insert: false
184186
- pymdownx.details
185-
- pymdownx.emoji
187+
- pymdownx.emoji:
188+
emoji_index: !!python/name:material.extensions.emoji.twemoji
189+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
186190
- pymdownx.escapeall:
187191
hardbreak: true
188192
nbsp: true

0 commit comments

Comments
 (0)