A lightweight, responsive, and multilingual web-based political compass designed to match users with Swedish political parties based on key policy positions.
Built purely with standard HTML5, CSS3, and JavaScript—no external dependencies, frameworks, or build steps required.
- Multilingual Support: Toggle seamlessly between Swedish (🇸🇪), English (🇬🇧), and Spanish (🇪🇸).
- 12 Policy Questions: Covers public spending, taxation, civic integration, law enforcement, climate regulations, defense, and sovereignty.
- Vector Matching Engine: Uses Manhattan distance calculation across normalized response scales (-2 to +2) against political party vectors (
SD,M,S,V,C,MP,KD,L). - Clean Visual Feedback: Features dynamic progress bar animations, party logo rendering, and summary descriptions.
.
├── index.html
└── logos/
├── c.png
├── kd.png
├── l.png
├── m.png
├── mp.png
├── s.png
├── sd.png
└── v.png