Policy Visualiser: exploring global policy approaches with AI-powered clustering
An AI-powered React app that analyzes how different countries approach policy challenges, with interactive clustering visualizations powered by Gemini.
Ever wondered how different countries tackle the same policy problem? Healthcare, immigration, climate change — every nation has its own approach, shaped by ideology, geography, history, and political system. Policy Visualiser is a tool I built to make those differences explorable and visual, powered by Gemini AI.
How it works
You type in a policy challenge — something like "healthcare reform" or "immigration policy" — and hit Visualize. The app sends your query to the Gemini API, which analyzes how different countries and political systems approach that issue. The results come back organized into clusters based on various taxonomies: geographic region, ideological orientation, system type, and more.
The interface presents these clusters in a tabbed layout where you can explore each taxonomy. Click on a cluster to see its description and the countries grouped together. Click on an individual country to read a detailed summary of its specific policy approach. It's a surprisingly effective way to quickly understand the global landscape on any given issue.
Built with the Gemini ecosystem
This is one of my Google AI Studio proof-of-concept projects. The frontend is React 19 with TypeScript and Vite, styled with Tailwind CSS in a dark theme. The interesting part is how much heavy lifting Gemini does — all the policy analysis, country identification, clustering logic, and summary generation happens on the AI side. The frontend is essentially a visualization layer for structured AI output.
Why it's interesting
What I find compelling about this project is that it demonstrates a genuinely useful application of LLMs beyond text generation. The model's broad training data gives it a reasonable working knowledge of global policy approaches, and the structured output format means you get explorable, organized information rather than a wall of text. It's not a substitute for deep policy research, but it's a fantastic starting point for understanding the landscape.
Give it a try: Policy-Visualiser
Visualise how different countries and systems of government approach policy challenges with Gemini identifying clusters