/install chart-animation
chart-animation
Version: 1.0.0
Generate animated trend charts from time-series data. Creates GIF/MP4 animations with dark theme styling and static overview images.
Usage
# Generate animation from data
chart-animation --data \x3Cpath/to/data.json> --output \x3Coutput-dir>
# With custom options
chart-animation --data data.json --output ./output --title "Temperature Trends" --fps 15
Data Format
Input JSON should have this structure:
{
"metadata": {
"generated_at": "2026-06-06",
"source": "your data source"
},
"dates": ["2025-06-01", "2025-06-08", ...],
"series": {
"Series A": {
"values": [12.5, 14.2, ...],
"color": "#E74C3C"
},
"Series B": {
"values": [15.0, 16.8, ...],
"color": "#3498DB"
}
}
}
Output
\x3Coutput>/animation.gif- Animated chart (GIF format)\x3Coutput>/animation.mp4- High-quality video (if ffmpeg available)\x3Coutput>/overview.png- Static multi-panel overview
Features
- Dark theme: Professional dark background for presentations
- Multi-series support: Up to 4 data series with distinct colors
- Responsive X-axis: Automatically formats date labels
- Overview chart: Grid layout showing each series separately
- Min/Max markers: Highlights extreme values in overview
Dependencies
- Python 3.8+
- matplotlib
- numpy
- pillow (for GIF)
- ffmpeg (optional, for MP4)
Install:
pip install matplotlib numpy pillow
# For MP4 support:
# macOS: brew install ffmpeg
# Ubuntu: sudo apt install ffmpeg
Example
# Create sample data
python3 -c "
import json
data = {
'metadata': {'source': 'example'},
'dates': ['2025-01', '2025-02', '2025-03', '2025-04'],
'series': {
'Revenue': {'values': [100, 120, 115, 140], 'color': '#27AE60'},
'Cost': {'values': [80, 85, 90, 88], 'color': '#E74C3C'}
}
}
print(json.dumps(data, indent=2))
" > data.json
# Generate animation
chart-animation --data data.json --output ./charts
Options
| Option | Default | Description |
|---|---|---|
--data |
required | Path to input JSON |
--output |
./output |
Output directory |
--title |
auto | Chart title (auto from metadata) |
--fps |
12 | Animation frames per second |
--width |
14 | Figure width in inches |
--height |
8 | Figure height in inches |
Notes
- For Chinese characters, ensure fonts like "PingFang SC" or "SimHei" are installed
- The skill auto-detects Y-axis range from data
- Overview charts use 2x2 grid for up to 4 series
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install chart-animation - After installation, invoke the skill by name or use
/chart-animation - Provide required inputs per the skill's parameter spec and get structured output
What is Chart Animation?
Generate dark-themed animated trend charts and static overview images from time-series JSON data with customizable titles and frame rates. It is an AI Agent Skill for Claude Code / OpenClaw, with 44 downloads so far.
How do I install Chart Animation?
Run "/install chart-animation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Chart Animation free?
Yes, Chart Animation is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Chart Animation support?
Chart Animation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Chart Animation?
It is built and maintained by U3UT7 (@ravenquasar); the current version is v1.0.0.