From 04fee2be37cf444e921047da1bafca3ce37fbdb2 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Mon, 20 Oct 2025 12:09:24 +0100 Subject: [PATCH 1/2] feat(showcase): add SHI from Perplexiy London hackathon --- docs/showcase/SHI.mdx | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 docs/showcase/SHI.mdx diff --git a/docs/showcase/SHI.mdx b/docs/showcase/SHI.mdx new file mode 100644 index 0000000..bb61119 --- /dev/null +++ b/docs/showcase/SHI.mdx @@ -0,0 +1,58 @@ +--- +title: SHI | Spatial History Intelligence +description: SHI is an interactive, AI-driven map visualization platform that transforms the way people explore and understand the world. +sidebar_position: 26 +keywords: [data visualization, history, geoencoding] +--- + + +# SHI: Spatial Historical Intelligence + +| Discovery | Connections | +| :-------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | +| ![Discovery](https://github.com/user-attachments/assets/3dd1d519-c590-431e-a880-73fecfcb2965) | ![Connections](https://github.com/user-attachments/assets/2457c487-bd14-4368-99c7-208baf107eb4) | +| Celebrity paths | Data Visualization | +| ![Celebp](https://github.com/user-attachments/assets/c1a9b115-4c59-4339-bc6d-38c3494a6662) | ![Dataviz](https://github.com/user-attachments/assets/0733ba25-7bde-4491-beea-39e2b8744673) | + +**SHI** is an interactive, AI-driven map visualization platform that transforms the way people explore and understand the world. +By simply clicking anywhere on the map, users can instantly learn about a location’s **history, culture, and significance**, powered by an integrated **AI search engine (Perplexity API)**. + +Beyond individual exploration, SHI enables users to: + +- **Visualize correlations** between different geographic areas. +- **Trace the life journeys of notable figures** across the world. +- **Compare countries** on various **AI-derived metrics** such as economy, culture, innovation, and more. + +## Why? + +- **Intuitive Discovery:** Learn about any place on Earth without needing to search manually. +- **AI-Driven Insights:** Go beyond static data — get contextually rich, up-to-date narratives about regions. +- **Global Perspective:** Discover interconnections between distant areas through correlation mapping. +- **Analytical Comparison:** Compare nations dynamically on metrics derived from the AI engine’s real-world knowledge. + +SHI bridges **geospatial visualization** and **AI-powered contextual understanding** in a single platform. +Instead of relying on pre-collected datasets or static APIs, SHI leverages **Perplexity’s AI search engine** to dynamically gather, synthesize, and summarize information in real time — turning raw geographic clicks into **meaningful, data-rich storytelling experiences**. + +## Integration with Perplexity + +SHI integrates **Perplexity’s API** as its core intelligence layer. +When a user selects a region, the backend sends a structured query to Perplexity, which returns context-aware results — such as the location’s historical background, key figures, cultural relevance, and statistical comparisons. +This response is then parsed, visualized, and connected to other relevant geographic entities through our custom correlation engine. + +## Setup + +- Node.js 18+ (recommended) and npm. +- Perplexity API key with access to Sonar Pro search. + +```shell +npm i +env PERPLEXITY_API_KEY=pplx-abc npm run dev +# optionally +npm run build +npm run preview +``` + +## Links + +- [GitHub Repository](https://github.com/xiaoshihou514/shi) +- [Live Demo](https://spatial-history-intelligence.netlify.app/) From 6769145c7d5eacea60cb8815b7629d71a6365466 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Wed, 22 Oct 2025 08:11:31 +0100 Subject: [PATCH 2/2] update sidebar poa --- docs/showcase/SHI.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/showcase/SHI.mdx b/docs/showcase/SHI.mdx index bb61119..49732af 100644 --- a/docs/showcase/SHI.mdx +++ b/docs/showcase/SHI.mdx @@ -1,7 +1,7 @@ --- title: SHI | Spatial History Intelligence description: SHI is an interactive, AI-driven map visualization platform that transforms the way people explore and understand the world. -sidebar_position: 26 +sidebar_position: 27 keywords: [data visualization, history, geoencoding] ---