← Back to Skills Marketplace
ravenquasar

Chart Animation

by U3UT7 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
44
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install chart-animation
Description
Generate dark-themed animated trend charts and static overview images from time-series JSON data with customizable titles and frame rates.
README (SKILL.md)

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
Usage Guidance
Install this if you want a local Python tool for generating chart animations. Review the input JSON and output directory before running it, because it will create or overwrite chart output files in that directory, and install dependencies only from trusted package sources.
Capability Assessment
Purpose & Capability
The stated purpose is animated trend chart generation, and the Python script implements that using matplotlib/numpy/pillow with optional ffmpeg output.
Instruction Scope
Instructions are ordinary user-directed CLI usage with explicit data and output paths; I found no hidden agent instructions, prompt manipulation, or unrelated workflow.
Install Mechanism
It discloses Python plotting dependencies and optional ffmpeg installation. No package lifecycle hooks, postinstall commands, or automatic installer behavior were present.
Credentials
Runtime file access is limited to reading the specified JSON input, creating the specified output directory, and writing animation.gif, optional animation.mp4, and overview.png.
Persistence & Privilege
No persistence, background execution, credential access, privilege escalation, startup registration, network calls, or broad filesystem scanning were found.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chart-animation
  3. After installation, invoke the skill by name or use /chart-animation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: generate animated (GIF/MP4) trend charts from time-series JSON data - Supports up to 4 data series with distinct colors and min/max markers - Outputs: animation.gif, animation.mp4 (if ffmpeg available), and static overview.png - Features professional dark theme and responsive date axis formatting - Command-line options for title, fps, size, and output directory - Includes multi-panel overview grid and support for custom fonts
Metadata
Slug chart-animation
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments