How dheeram/covid19india-react works
Covid19india.org is a public COVID-19 data dashboard. Users enter through the routed app, then explore national or state-level summaries, search for a region, and inspect data in tables, maps, and time-series charts. The README identifies the data API, but the excerpts do not show the data-fetching path, so that integration is documented without asserting a specific caller. Unsampled feature modules are represented where the source index shows their use; their internal behavior is not inferred.
Main entry points: Home.js National overview · App.js App router · State.js State detail · Table.js Data table
Components 23
App and navigation
- App router
src/App.js - Navigation bar
src/components/Navbar.js - Region search
src/components/Search.js - Language switcher
src/components/LanguageSwitcher.js
Dashboard views
- National overview
src/components/Home.js - State detail
src/components/State.js - Headline metrics
src/components/Level.js - Vaccination summary
src/components/VaccinationHeader.js - Recent updates
src/components/Updates.js
Data exploration
- Map controls
src/components/MapExplorer.js - Map rendering
src/components/MapVisualizer.js - Map legend
src/components/MapLegend.js - Data table
src/components/Table.js - Table rows
src/components/Row.js - Table headers
src/components/HeaderCell.js - Trend controls
src/components/TimeseriesExplorer.js - Trend charts
src/components/Timeseries.js - Mini charts
src/components/Minigraphs.js
Shared services
- Date and statistic utilities
src/utils/commonFunctions.js - Visibility hook
src/hooks/useIsVisible.js - Translation setup
src/i18n/index.js
Other components
- Visitor
- Covid data API
Connections 27
- Visitor → App router: opens dashboard
src/App.js - App router → National overview: routes to
src/App.js - App router → State detail: routes to
src/App.js - App router → Navigation bar: renders
src/App.js - App router → Language switcher: renders
src/App.js - National overview → Headline metrics: renders
src/components/Home.js - National overview → Vaccination summary: renders
src/components/Home.js - National overview → Map controls: renders
src/components/Home.js - National overview → Data table: renders
src/components/Home.js - National overview → Trend controls: renders
src/components/Home.js - National overview → Mini charts: renders
src/components/Home.js - National overview → Region search: renders
src/components/Home.js - National overview → Recent updates: renders
- State detail → Map controls: renders
src/components/State.js - State detail → Data table: renders
- State detail → Trend controls: renders
src/components/State.js - State detail → Mini charts: renders
src/components/State.js - Map controls → Map rendering: renders
src/components/MapExplorer.js - Map rendering → Map legend: renders
src/components/MapVisualizer.js - Data table → Table rows: renders
src/components/Table.js - Data table → Table headers: renders
src/components/Table.js - Trend controls → Trend charts: renders
src/components/TimeseriesExplorer.js - Trend controls → Visibility hook: checks visibility
src/components/TimeseriesExplorer.js - Region search → State detail: links to region
src/components/Search.js - National overview → Covid data API: loads dashboard data
- Date and statistic utilities → Covid data API: uses API configuration
- App router → Translation setup: initializes translations
src/index.js