WebApp Use Cases
Build interactive web dashboards using HTML, Bootstrap, and Highcharts with GJD data.
Welcome
This section demonstrates how to consume the Green Jurisdiction Database API directly from the browser using HTML + JavaScript. No backend required.
Open-source repository — Clone this project to replicate all examples locally:
github.com/EarthInnovationInsitutute/usecasegjd
github.com/EarthInnovationInsitutute/usecasegjd
git clone git@github.com:EarthInnovationInsitutute/usecasegjd.git
Open-source repository — Clone this project to replicate all examples locally:
github.com/EarthInnovationInsitutute/usecasegjd
github.com/EarthInnovationInsitutute/usecasegjd
git clone git@github.com:EarthInnovationInsitutute/usecasegjd.git
Tech Stack
| Technology | Purpose |
|---|---|
| Bootstrap 5 | Responsive layout and UI components |
| Highcharts | Interactive, publication-quality charts |
| Vanilla JavaScript | API requests and data processing |
How it works
Each use case is a single HTML file that:
- Calls the GJD API using
fetch(). - Parses the JSON response.
- Renders an interactive Highcharts chart.
Use Cases
| # | Use Case | Description |
|---|---|---|
| 01 | Forest Cover in Caqueta | Fetch forest cover data and compare Caqueta vs Putumayo with a grouped column chart. |
| 02 | Deforestation in Acre | Fetch deforestation data and compare PRODES, Hansen/UMD, and MapBiomas sources. |
| 03 | Spatial Deforestation | Fetch GeoJSON data for Caquetá and Putumayo, display on interactive Leaflet maps with choropleth styling. |
Head over to Get Started to learn what you need.