How sahilgit04/poll-results-visualizer works
Poll Results Visualizer is a Streamlit app for exploring cleaned survey data. Users load the bundled CSV, filter by region and age group, inspect summary metrics and visual analyses, and download the filtered rows. A separate command-line entry point prints vote, region, and age summaries. The README also advertises demographic, trend, and insight capabilities; the excerpts show their implementation in the app and analysis module. Edges reflect visible calls; the CSV is identified as the app’s input.
Main entry points: app.py Streamlit dashboard · main.py CLI entry point · analysis.py Data loading · poll_data.csv Poll dataset
Components 17
Dashboard
- Streamlit dashboard
app.py - Region and age filters
app.py - Response metrics
app.py - Vote charts
app.py - Trend chart
app.py - Region heatmap
app.py - Top-choice insight
app.py - Filtered CSV download
app.py
Poll Analysis
- Poll dataset
data/poll_data.csv - Data loading
src/analysis.py - Data cleaning
src/analysis.py - Vote percentages
src/analysis.py - Trend analysis
src/analysis.py - Region analysis
src/analysis.py - Age analysis
src/analysis.py
Command Line
- CLI entry point
main.py
Other components
- Dashboard user
Connections 19
- Dashboard user → Streamlit dashboard: uses
README.md - Streamlit dashboard → Data loading: loads data
app.py - Streamlit dashboard → Poll dataset: selects input
app.py - Streamlit dashboard → Data cleaning: cleans data
app.py - Streamlit dashboard → Region and age filters: filters rows
app.py - Streamlit dashboard → Response metrics: shows metrics
app.py - Streamlit dashboard → Vote percentages: calculates shares
app.py - Streamlit dashboard → Vote charts: renders shares
app.py - Streamlit dashboard → Trend analysis: calculates trend
app.py - Streamlit dashboard → Trend chart: renders trend
app.py - Streamlit dashboard → Region analysis: counts by region
app.py - Streamlit dashboard → Region heatmap: renders heatmap
app.py - Streamlit dashboard → Top-choice insight: shows top choice
app.py - Streamlit dashboard → Filtered CSV download: offers export
app.py - CLI entry point → Data loading: loads data
main.py - CLI entry point → Data cleaning: cleans data
main.py - CLI entry point → Vote percentages: prints shares
main.py - CLI entry point → Region analysis: prints regions
main.py - CLI entry point → Age analysis: prints age groups
main.py