How swapnil09032005/corona-virus-dashboard works
This is a single-file Dash dashboard for exploring COVID-19 patient counts in India. A visitor opens the dashboard, sees summary cards and charts, and can filter the state-wise bar chart by patient status; the line and pie charts are also connected to the dropdown but their callbacks do not use its value. The sampled app reads IndividualDetails.csv. The README describes additional dataset categories and visualizations, but the excerpts do not show those CSVs being used. The graph focuses on demonstrated runtime behavior; callbacks and UI components are implemented together in app.py.
Main entry points: app.py Dash application · IndividualDetails.csv Patient records
Components 13
Dashboard interface
- Dash application
app.py - Dashboard layout
app.py - Status dropdown
app.py - Chart panels
app.py
Dashboard analytics
- Summary cards
app.py - State bar callback
app.py - Daily trend callback
app.py - Status pie callback
app.py - State-wise cases
app.py - Daily case trend
app.py - Patient status mix
app.py
Patient data
- Patient records
IndividualDetails.csv
Other components
- Dashboard visitor
Connections 21
- Dashboard visitor → Dash application: opens dashboard
README.md - Dash application → Patient records: loads records
app.py - Dash application → Dashboard layout: defines layout
app.py - Patient records → Summary cards: supplies counts
app.py - Dashboard layout → Status dropdown: renders
app.py - Dashboard layout → Chart panels: renders
app.py - Dash application → State bar callback: registers callback
app.py - Dash application → Daily trend callback: registers callback
app.py - Dash application → Status pie callback: registers callback
app.py - Status dropdown → State bar callback: selects status
app.py - Status dropdown → Daily trend callback: triggers update
app.py - Status dropdown → Status pie callback: triggers update
app.py - Patient records → State bar callback: provides records
app.py - Patient records → Daily trend callback: provides records
app.py - Patient records → Status pie callback: provides records
app.py - State bar callback → State-wise cases: returns figure
app.py - Daily trend callback → Daily case trend: returns figure
app.py - Status pie callback → Patient status mix: returns figure
app.py - Chart panels → State-wise cases: displays
app.py - Chart panels → Daily case trend: displays
app.py - Chart panels → Patient status mix: displays
app.py