forked from 0xWheatyz/SPARC
feat: add Streamlit visualization dashboard
- Create interactive dashboard with company analysis page - Add batch analysis with progress tracking and charts - Include analytics page for historical data visualization - Add system status monitoring - Update requirements.txt with streamlit, plotly, pandas - Document dashboard usage in README 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,7 @@ SPARC automatically collects, parses, and analyzes patents from companies to pro
|
||||
- **Portfolio Analysis**: Evaluates multiple patents holistically for comprehensive insights
|
||||
- **Batch Processing**: Analyze multiple companies concurrently with progress tracking
|
||||
- **REST API**: FastAPI web service with async job support
|
||||
- **Dashboard**: Interactive Streamlit visualization dashboard
|
||||
- **Robust Testing**: 40 tests covering all major functionality
|
||||
|
||||
## Architecture
|
||||
@@ -167,6 +168,22 @@ curl -X POST http://localhost:8000/analyze/batch/async \
|
||||
-d '{"companies": ["nvidia", "amd", "intel", "qualcomm"]}'
|
||||
```
|
||||
|
||||
### Visualization Dashboard
|
||||
|
||||
Launch the interactive Streamlit dashboard:
|
||||
|
||||
```bash
|
||||
streamlit run dashboard.py
|
||||
```
|
||||
|
||||
Dashboard features:
|
||||
- **Company Analysis**: Analyze individual companies with real-time results
|
||||
- **Batch Analysis**: Process multiple companies with progress tracking and charts
|
||||
- **Analytics**: View historical analysis data and trends (requires database mode)
|
||||
- **System Status**: Monitor database and analyzer health
|
||||
|
||||
The dashboard runs at `http://localhost:8501` by default.
|
||||
|
||||
## Running Tests
|
||||
|
||||
```bash
|
||||
@@ -202,7 +219,7 @@ pytest tests/ --cov=SPARC --cov-report=term-missing
|
||||
- [X] FastAPI web service wrapper
|
||||
- [X] Docker containerization
|
||||
- [X] Results persistence (database)
|
||||
- [ ] Visualization dashboard
|
||||
- [X] Visualization dashboard
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user