Chart2CSV turns chart images into CSV-style data for analysts and operators who need a quick extraction path from visual reports.
Docs · Examples · API request
Sample output:
label,value
Q1,42
Q2,57# API request
curl -X POST "https://chart2csv.kikuai.dev/extract" \
-F "[email protected]"Chart2CSV/
├── api/ # FastAPI REST API
│ └── main.py # API endpoints
├── chart2csv/ # Core Python package
│ ├── core/ # Extraction logic
│ │ ├── llm_extraction.py # Mistral Pixtral LLM
│ │ ├── pipeline.py # CV pipeline (fallback)
│ │ └── ocr.py # OCR for axis labels
│ └── cli/ # Command-line interface
├── deploy/ # Deployment scripts
│ ├── deploy.sh # Server deployment
│ └── nginx.conf # Nginx config
├── scripts/ # Development utilities
├── Dockerfile # Container build
├── docker-compose.yml # Container orchestration
├── requirements.txt # Python dependencies
└── setup.py # Package installation
| Feature | Description |
|---|---|
| 🧠 Mistral Pixtral | Vision-model extraction path |
| ⚡ Zero-Click | Automatic chart understanding |
| 📊 Multi-Chart | Line, scatter, bar charts |
| 🔧 Manual Mode | Calibration endpoint for edge cases |
| 🌐 REST API | FastAPI endpoints for extraction workflows |
Powered by Mistral AI
| Endpoint | Description |
|---|---|
POST /extract |
LLM extraction (default) |
POST /extract/calibrated |
Manual calibration |
GET /docs |
Swagger UI |
GET /health |
Health check |
pip install -e .| Variable | Description |
|---|---|
MISTRAL_API_KEY |
Mistral AI API key (required) |
AGPL-3.0. Copyright (c) 2025 KikuAI OÜ