geeViz.chartingLib¶
Zonal Summary & Charting Library for GEE
geeViz.chartingLib provides a Python pipeline for running zonal statistics on ee.Image / ee.ImageCollection objects and producing Plotly charts (time series, bar, sankey). It mirrors the logic in the geeView JS frontend so that both human users and AI agents have a clean, efficient API for this common workflow.
Functions
|
Create a Plotly bar chart from a single-Image zonal stats DataFrame. |
|
Create a grouped (or stacked) bar chart for multi-feature zonal stats. |
|
Create a Plotly Sankey diagram from transition data. |
|
Create a Plotly time series chart from a zonal stats DataFrame. |
|
Determine whether the input geometry represents a single region or multiple. |
|
Detect the type of a GEE object and read its thematic class metadata. |
|
Parse continuous (mean/median/etc.) reduction results into a DataFrame. |
|
Parse frequency histogram reduction results into a DataFrame with class names as columns. |
|
Prepare a GEE object for reduction by stacking an ImageCollection into a single multi-band image. |
|
Build a Sankey diagram dataset from class transitions across time periods. |
|
Run |
|
Run |
|
Run zonal statistics and produce a chart in one call. |
|
Compute zonal statistics for a GEE Image or ImageCollection over a geometry. |