A powerful financial data visualization tool that analyzes uploaded data files and generates interactive charts based on natural language queries. Built with TypeScript + React + Tailwind CSS for the frontend and Python + FastAPI for the backend.
hackmix/
├── frontend/ # React TypeScript frontend
│ ├── src/
│ │ ├── App.tsx # Main application component
│ │ ├── components/
│ │ │ ├── LineChart.tsx # Line chart component
│ │ │ └── HeatmapChart.tsx # Heatmap chart component
│ │ ├── main.tsx # React entry point
│ │ └── index.css # Tailwind CSS imports
│ ├── package.json
│ └── vite.config.ts
├── backend/ # Python FastAPI backend
│ ├── main.py # FastAPI application with data processing
│ ├── requirements.txt
│ └── .env.example
└── README.md
- Node.js (v16 or higher)
- Python (v3.8 or higher)
- npm or yarn
- Navigate to the backend directory:
cd backend- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the backend server:
python main.pyThe backend will be available at http://localhost:8000
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe frontend will be available at http://localhost:5173
- Start both the backend and frontend servers
- Open your browser to
http://localhost:5173 - Upload a CSV or Excel file containing your financial data
- Enter a natural language query about your data (e.g., "Show quarterly revenue trends", "Display monthly expenses by category")
- Click "Search" to generate interactive visualizations
- Use the action buttons to like, download, or share your charts
- File Upload: Support for CSV and Excel files with drag-and-drop interface
- Natural Language Queries: Ask questions about your data in plain English
- Interactive Charts: Line charts and heatmaps with hover effects and legends
- Responsive Design: Clean, modern interface that works on all devices
- Real-time Analysis: Fast data processing and visualization generation
GET /- API statusPOST /analyze-data- Analyze uploaded data and generate visualizationsGET /health- Health check
- CSV files (.csv)
- Excel files (.xls, .xlsx)
- Advanced AI-powered data analysis
- More chart types (bar charts, pie charts, scatter plots)
- Data export functionality
- User authentication and saved analyses
- Integration with popular financial data sources
- Custom chart styling and theming