A React-based dashboard that displays UK macroeconomic data from the UK Macro Crew system.
- Real-time Data: Loads data from
research_report.jsongenerated by the UK Macro Crew system - Economic Indicators: Displays Interest Rates, CPIH Inflation, and GDP Growth with trend indicators
- Report Summaries: Shows comprehensive summaries of Monetary Policy and Financial Stability reports
- Responsive Design: Works on desktop and mobile devices
- Error Handling: Graceful loading states and error messages
- Source Links: Direct links to official Bank of England and ONS sources
- Node.js 18+
- npm
# Install dependencies
npm install
# Start development server
npm run devThe dashboard will be available at http://localhost:5173
npm run buildThe frontend automatically loads data from /public/research_report.json. To update the dashboard with new data:
- Run the UK Macro Crew system:
crewai run - Copy the updated report:
cp research_report.json public/ - Refresh the dashboard or click the "Refresh" button
- React 18 with TypeScript
- Vite for build tooling
- Tailwind CSS for styling
- Radix UI components for accessibility
- Lucide React for icons
- Recharts for potential future data visualization
src/
├── app/
│ ├── App.tsx # Main application component
│ └── components/
│ ├── EconomicIndicatorCard.tsx # Individual indicator display
│ ├── ReportSummaryCard.tsx # Report summary display
│ └── ui/ # Reusable UI components
├── main.tsx # Application entry point
└── styles/ # CSS and styling files
The dashboard expects data in this format:
{
"current_economic_indicators": {
"interest_rate": {
"value": "3.75%",
"publication_date": "2025-12-18",
"next_publication_date": "2026-02-05",
"source": "https://..."
},
// ... other indicators
},
"current_report_summaries": {
"monetary_policy_report": {
"summary": "Comprehensive analysis...",
"report_date": "2025-12-18",
"next_publication_date": "2026-02-05",
"source": "https://..."
},
// ... other reports
},
"metadata": {
"generated_at": "2026-02-02T20:47:50.650600Z",
"last_updated": "2026-02-02T20:47:50.650600Z"
}
}