Made by Christian Cito / Arthouse in collaboration with Momentum Institut.
Application for analysing and visualizing data from the political questionnaire wahlkabine.at.
- Vite
- React
chart.js+chartjs-chart-venn- Tailwind
- Framer Motion
# install
npm install# dev
npm run dev# build
npm run buildThe data was manually extracted from the wahlkabine.at website.
The full dataset is stored in src/wahlkabine-data/data.json.
After running the process-data command all neccessary data is extracted to src/wahlkabine-data/data-minimal.json.
npm run process-dataAfter that the data-minimal.json file needs to be placed in the public/ folder so it can be fetched from the client.
It's possible to embed a single election venn diagramm on other websites.
To build the needed momentum-venn.js & style.css files you need to run the build:lib command.
# build widget
npm run build:libThe command bundles the code needed for the embed widget and copies it to the public folder.
This is a pure client-side application and can be deployed to any (static) hosting service.
See LICENSE
