How kadoa-org/congress-trading-monitor works
Congress Trading Monitor is a client-side dashboard for exploring STOCK Act disclosures. Its main workflow loads static JSON, prepares shared filer and transaction data, routes users to overview, searchable listings, and filer/ticker drill-downs, then presents filtered trades and return-related views. The README documents aggregation from House, Senate, and OGE records; those collection steps are upstream of this repository’s runtime. The graph preserves the documented insights and methodology branches. Some subsystem links rely on README or source-index references because their implementations were not excerpted.
Main entry points: App.jsx App and routing · FilerPage.jsx Filer detail · TickerPage.jsx Ticker detail · FilterBar.jsx Filter controls
Components 23
App runtime
- App and routing
src/App.jsx - Client entry
src/main.jsx - Command palette
src/components/CommandPalette.jsx
Browse disclosures
- Overview dashboard
src/pages/OverviewPage.jsx - Filer directory
src/pages/FilersPage.jsx - Ticker directory
src/pages/TickersPage.jsx - Trades listing
src/pages/TradesPage.jsx - Filter controls
src/components/FilterBar.jsx
Drill-down views
- Filer detail
src/pages/FilerPage.jsx - Ticker detail
src/pages/TickerPage.jsx - Trade table
src/TradesTable.jsx - Personal timeline
src/components/PersonalTimeline.jsx
Insights and context
- Insights directory
src/pages/InsightsPage.jsx - Insight detail
src/pages/InsightPage.jsx - Methodology page
src/pages/AboutPage.jsx - Insight definitions
src/insights.js
Data and UI
- Data loading
src/data.js - Static disclosure dataset
public/data - Shared data-kit
src/kit/index.jsx - UI primitives
src/ui.jsx
Other components
- Dashboard visitor
- House, Senate, OGE records
- Kadoa collection and normalization
Connections 28
- Dashboard visitor → Client entry: opens dashboard
src/main.jsx - Client entry → App and routing: mounts or hydrates
src/main.jsx - App and routing → Data loading: loads data
src/App.jsx - Data loading → Static disclosure dataset: fetches JSON
README.md - App and routing → Overview dashboard: routes to
src/App.jsx - App and routing → Filer directory: routes to
src/App.jsx - App and routing → Ticker directory: routes to
src/App.jsx - App and routing → Trades listing: routes to
src/App.jsx - App and routing → Filer detail: routes to
src/App.jsx - App and routing → Ticker detail: routes to
src/App.jsx - App and routing → Insights directory: routes to
src/App.jsx - App and routing → Insight detail: routes to
src/App.jsx - App and routing → Methodology page: routes to
src/App.jsx - App and routing → Command palette: renders
src/App.jsx - Filer directory → Filter controls: uses controls
src/pages/FilersPage.jsx - Trades listing → Filter controls: uses controls
src/pages/TradesPage.jsx - Filer detail → Filter controls: filters trades
src/pages/FilerPage.jsx - Ticker detail → Filter controls: filters trades
src/pages/TickerPage.jsx - Filer detail → Trade table: renders trades
src/pages/FilerPage.jsx - Ticker detail → Trade table: renders trades
src/pages/TickerPage.jsx - Filer detail → Personal timeline: renders timeline
src/pages/FilerPage.jsx - Ticker detail → Personal timeline: renders timeline
src/pages/TickerPage.jsx - Overview dashboard → Shared data-kit: renders figures
src/pages/OverviewPage.jsx - Insights directory → Insight definitions: reads definitions
src/pages/InsightsPage.jsx - Insight detail → Insight definitions: reads definitions
src/pages/InsightPage.jsx - Methodology page → UI primitives: uses primitives
src/pages/AboutPage.jsx - House, Senate, OGE records → Kadoa collection and normalization: collected and parsed
README.md - Kadoa collection and normalization → Static disclosure dataset: aggregates disclosures
README.md