Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valkompass 2026 🗳️✨

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.


Features

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

Directory Structure

.
├── index.html
└── logos/
    ├── c.png
    ├── kd.png
    ├── l.png
    ├── m.png
    ├── mp.png
    ├── s.png
    ├── sd.png
    └── v.png

About

A lightweight, zero-dependency multilingual (SV/EN/ES) web application that matches user political views with Swedish party profiles using vector distance calculation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages