import polars as pl
from pylifemap import Lifemap
# Load iucn dataset
iucn = pl.read_parquet(
"https://raw.githubusercontent.com/Lifemap-ToL/pylifemap/main/data/iucn.parquet"
)
Lifemap(iucn).layer_points(radius=5, opacity=0.8).show()pylifemap
Overview
pylifemap is a Python package for visualizing taxonomy data on Lifemap, the interactive tree of life. It provides several visualisation layers, as well as functions allowing to aggregate data along the tree branches.
Here is a simple example:
Installation and usage
- Getting started gives an overview of the package usage and features.
- Usage describes how to use the package and the available features and options.
- The Layers section shows examples of the different available layers.
- Reference provides detailed documentation of the different methods and functions.
Credits
- The
iucndata files in thedata/directory have been generated from The IUCN Red List of Threatened Species dataset (DOI 10.15468/0qnb58). - Visualizations are powered by Open Layers, deck.gl, d3 and Observable Plot.
- The widget is developed thanks to the anywidget framework.
- This documentation website is generated by Quarto and quartodoc.