Wisdom Lantern VanAI Hackathon Round 2 Submission
Exploring Canadian identity, values, and aspirations through data, code, and storytelling
This project analyzes the Canadian Identity Survey (2024)—a national questionnaire that asked 1 000+ Canadians about their sense of belonging, top values, perceived social divisions, and hopes or fears for the country’s future.
We combine quantitative statistics, natural-language processing, and data-driven storytelling (videos + interactive web viz) to reveal:
- How strongly Canadians feel connected to the nation
- Which values they want Canada to champion next
- Where they see the deepest fault lines—and how we might bridge them
The result is an executive dashboard, rich visual assets, and an HTML narrative submitted to the VanAI “Future of Canada” hackathon.
| Script | Purpose |
|---|---|
scripts/canadian-identity-analysis.py |
End-to-end analysis pipeline. • Loads raw CSVs • Cleans & structures responses • Performs theme extraction/NLP • Builds visualizations • Writes processed JSON + an executive dashboard text file. |
scripts/transcribe_videos.sh |
Batch-cleans survey response videos with ffmpeg and generates transcripts with insanely-fast-whisper (GPU/MPS). |
original_data/Hackathon Round 2_*.csv– numeric survey results, dictionaries, extra demographicsoriginal_data/The Canadian Identity Survey_ Data Storytelling Hackathon Round 2.pdf– official brief & questions
processed_data/comprehensive_analysis.json– master analysis output consumed by the web vizprocessed_data/detailed_analysis/– thematic JSON break-outs (values, divisions, aspirations, etc.)processed_data/visualizations/*.png– Matplotlib/Seaborn plots used in the write-upprocessed_data/executive_dashboard.txt– plain-text “at-a-glance” dashboard
hackathon_entry/ ├─ index.html # Interactive story / insight explorer ├─ future-of-canada.mp4 # <60 s project explainer ├─ canadian_identity_hero.png ├─ Qvideo.mp4 # Highlight reels from respondents
- How connected do Canadians feel to their national identity today?
- Which values & priorities do they believe should guide Canada’s future?
- What social divisions worry Canadians the most?
- How do connection strength and priorities vary by province, generation, or urban/rural status?
- What concrete actions do respondents suggest to build unity and prosperity?
📊 Data Collection & Processing
• 14-question survey of 1 001 Canadians across 11 provinces / territories
• Mixed-methods: multiple-choice, open-ended text, video responses, demographics
• Automated Whisper transcription of videos with manual verification → thematic personas
🧠 AI-Powered Analysis
• Quantitative: pandas / NumPy stats, response-completeness metrics, demographic pattern recognition
• Qualitative: NLP sentiment analysis, keyword & theme extraction, paradox-detection models surfacing identity tensions
• Autonomous Python agents orchestrate pattern recognition and insight generation
🎙️ Cultural Representation & Voice Synthesis
• Hero video narrated via Brody’s First Nations voice model (full consent) for authentic Indigenous perspective
• Ethical integration safeguards respectful framing of findings
🔄 End-to-End Pipeline
Survey → Video Transcription → AI Analysis → Pattern Recognition → Voice Synthesis → Interactive Dashboard
-
Install dependencies (Python 3.9+)
pip install pandas numpy matplotlib seaborn scikit-learn tqdm # plus ffmpeg + insanely-fast-whisper if transcribing videos -
Run the core analysis
python scripts/canadian-identity-analysis.py \ --data-dir original_data \ --output-dir processed_dataThis regenerates all JSON outputs, plots, and the executive dashboard.
-
(Optional) Transcribe respondent videos
bash scripts/transcribe_videos.sh
-
Explore the interactive story
Openhackathon_entry/index.htmlin your browser.
- Total Responses: 1 001
- Average Response Completeness: 49 %
- Top Values: Freedom & Autonomy (62 %), Equitable Systems (47 %), Tech Innovation (40 %)
- Critical Concern: Political Polarization (61 % flag as “high”)
See processed_data/executive_dashboard.txt for the full dashboard.
This project is licensed under the license included in the LICENSE file.
- VanAI “Future of Canada” Hackathon for the data set and challenge
- OpenAI Whisper + insanely-fast-whisper for rapid video transcription
- Matplotlib, Seaborn, and D3.js for visualization tooling