Skip to content

Add: Native support for GeoJSON via geopandas with dashboard example #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/geo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
secrets.toml
.preswald_deploy
63 changes: 63 additions & 0 deletions examples/geo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# 🏛️ Monument Intelligence Dashboard

An interactive, AI-powered dashboard built with [Preswald](https://github.com/StructuredLabs/preswald) that explores iconic monuments across the world.
Analyze historical sites by region, visitors, time period, and more—all through stunning visualizations and natural language chat.

---

## 🌍 Features

- 📍 Geospatial map of monuments with scalable marker sizes based on yearly visitors
- 📊 Interactive filters for time period and visitor counts
- 📈 Graphs for trends by country and build century
- 🧠 Built-in chatbot for natural language queries
- 🎨 Sidebar branding, responsive layout, and clean UI

---

## 🗂 Dataset

The app uses a curated GeoJSON dataset with 45+ monuments including attributes like:

- Name & Location
- Year Built
- Estimated Visitors per Year
- Latitude/Longitude coordinates

File: `data/monuments_geo.geojson`

---

## 🚀 Run Locally

Make sure you have Python ≥3.8 and Preswald installed.

```bash
pip install preswald
```

Then run the app.

```bash
preswald run
```

## 📁 Folder Structure

monument-dashboard/
├── hello.py
├── preswald.toml
├── pyproject.toml
├── README.md
├── .gitignore
├── data/
│ └── monuments_geo.geojson
├── images/
│ ├── logo.png
│ └── favicon.ico
└── dist/ # (created after export)

## 💡 Credits

Built using [Preswald](https://github.com/StructuredLabs/preswald)
Inspired by global cultural heritage and open data initiatives 🌐
Loading