Content
# Chart Generation Tool
This project is a chart generation tool based on `FastMCP`, supporting the generation of various types of charts from JSON data, including Line Charts, Bar Charts, Pie Charts, and Histograms. The generated charts can be saved as image files.
## Features
- **Supported Chart Types**:
- Line Chart
- Bar Chart
- Pie Chart
- Histogram
- **Support for Chinese Characters**: By setting the `SimHei` font, the charts can correctly display Chinese characters.
- **Automatic Directory Creation**: If the path for saving charts does not exist, the program will automatically create the directory.
- **Error Handling**: Detailed error messages will be returned if an error occurs during the chart generation process.
## File Structure
- `v1.py`: The main program file that contains the implementation of the chart generation tool.
- `README.md`: Project documentation file.
## Usage
1. **Install Dependencies**:
Ensure that the following Python libraries are installed:
- `matplotlib`
- `numpy`
- `FastMCP`
Use the following command to install the dependencies:
```bash
pip install matplotlib numpy fastmcp
```
You Might Also Like
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

NextChat
NextChat is a light and fast AI assistant supporting Claude, DeepSeek, GPT4...

Continue
Continue is an open-source project for seamless server management.
semantic-kernel
Build and deploy intelligent AI agents with the Semantic Kernel framework.

repomix
Repomix packages your codebase into AI-friendly formats for easy use.
UI-TARS-desktop
UI-TARS-desktop is part of the TARS Multimodal AI Agent stack.