How defendi22/sus-brasil works
SIM is a local mortality-data dashboard, with a companion extractor that downloads API records as CSV. The main workflow is to load a CSV in the browser, filter records, and inspect summary metrics and visual analyses; the extractor is an alternate way to obtain data. README documents the dashboard’s analyses and local-only processing. Some runtime wiring is unsampled, so the graph avoids asserting unshown calls between individual analysis views.
Main entry points: app.js Interactive filters · SIM_para_excel.py API extractor · index.html Dashboard page · style.css Page styling
Components 15
Data acquisition
- API extractor
SIM_para_excel.py
Dashboard workflow
- CSV loading
app.js - Interactive filters
app.js
Analysis views
- KPIs
app.js - Monthly timeline
app.js - State ranking
app.js - Cause analyses
app.js - Demographic charts
app.js - Occurrence and education
app.js - State heat map
app.js
Page presentation
- Dashboard page
index.html - Page styling
style.css
Other components
- Analyst
- Ministry API
- CSV file
Connections 14
- Analyst → API extractor: runs extraction
SIM_para_excel.py - API extractor → Ministry API: fetches pages
SIM_para_excel.py - API extractor → CSV file: saves CSV
SIM_para_excel.py - Analyst → Dashboard page: opens dashboard
README.md - Analyst → CSV loading: loads or drops CSV
app.js - CSV loading → Interactive filters: offers filters
README.md - Interactive filters → KPIs: updates analyses
README.md - Interactive filters → Monthly timeline: updates analyses
README.md - Interactive filters → State ranking: updates analyses
README.md - Interactive filters → Cause analyses: updates analyses
README.md - Interactive filters → Demographic charts: updates analyses
README.md - Interactive filters → Occurrence and education: updates analyses
README.md - Interactive filters → State heat map: updates analyses
README.md - Dashboard page → Page styling: uses styles