Skip to content

Commit

Permalink
🙈
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 3, 2024
1 parent 74a077a commit fa039be
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"City": {
"names": con.read_parquet("s3://public-gbif/app/city_names.parquet").select("name").execute(),
"index": 183,
"zoom": 11,
"zoom": 10,
"vertical": 0.1,
"rank_index": 2,
"taxa": "Aves",
Expand Down Expand Up @@ -164,7 +164,6 @@ def bar_chart(gdf_name, rank, taxa, zoom, distinct_taxa = ""):
count = "unique " + distinct_taxa


st.write(distinct_taxa)

mapcol, chartcol = st.columns([4,1])

Expand All @@ -187,3 +186,26 @@ def bar_chart(gdf_name, rank, taxa, zoom, distinct_taxa = ""):
st.markdown("Mean number of " + count + " by redline grade")
bar_chart(gdf_name, rank, taxa, zoom, distinct_taxa = distinct_taxa)


st.divider()

'''
## Credits
App developed by Carl Boettiger & Diego Soto, UC Berkeley (2024).
### Data Sources
- Global Biodiversity Information Facility (GBIF) Species Occurrences snapshot on 2024-10-01. Copyright: Public Domain. Visualization based on pre-computed H3 cell values for all of GBIF, hosted on Source.Coop, <https://source.coop/repositories/cboettig/gbif> as GeoParquet and PMTiles.
- Historical Redlining Data from the Mapping Inequality Project, <https://dsl.richmond.edu/panorama/redlining/>.
### Software
- All open-source software implementation, hosted on HuggingFace Spaces.
- Built with `duckdb`, `maplibre`, `leafmap`, and `streamlit`.
- Source code at <https://github.com/boettiger-lab/redlining-app>
'''

0 comments on commit fa039be

Please sign in to comment.