Skip to content

Repository files navigation

EU Parliament Visualizer

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

Features

  • 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.

Running Locally

Prereqs: Node 18+ and npm installed.

  1. Install dependencies:
npm install
  1. Start the dev server:
npm run dev
  1. Open the app at http://localhost:3000 (or the port shown in the terminal).

Data

Generated by scraping Wikipedia with ChatGPT. CSV files under data/{country} loaded server-side.

License

MIT (data may have its own licenses)

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages