Interactive map and parliament composition visualization for European Union countries spanning 1950-2025. Use this app to explore how party systems, gender balance, and ideological positions have shifted over time.
Live site: https://eu-parliament-viz.vercel.app/?year=2018
- Pannable Europe map that colors each country by majority ideology or women-in-parliament share, with election-year input, hover tooltips, and non-free-state highlighting.
- Country drawer with hemicycle seat layout, sortable party table (English vs native names), and a 2D ideology compass whose shapes encode economic lean and size encodes seat share.
- Timeline slider with election pins per country and keyboard Escape to close the drawer; URL sync persists
country,year, palette, and lens for shareable links. - Data lenses for political alignment or gender balance, plus palette orientation toggle (European vs American color scales) and party-name toggle.
- European comparison view that groups countries by dominant social alignment or female-seat share, scaling bubbles by population and showing flags plus optional population table.
Prereqs: Node 18+ and npm installed.
- Install dependencies:
npm install- Start the dev server:
npm run dev- Open the app at http://localhost:3000 (or the port shown in the terminal).
Generated by scraping Wikipedia with ChatGPT. CSV files under data/{country} loaded server-side.
MIT (data may have its own licenses)