본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

chart-image

dannyshmueli 제작

Image & Video Generation
5.1kclawskills.sh가 보고한 다운로드 수
5스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Generate publication-quality chart images from data.

설명

이 스킬이 하는 일

Generates PNG or SVG chart images from JSON data using Vega-Lite. Supports line, bar, area, pie, donut, candlestick, heatmap, multi-series, and stacked charts. Runs as a pure Node.js script with no browser or native compilation required.

Unlike Puppeteer-based chart tools, it uses prebuilt Sharp binaries and generates charts in under 500ms with no browser overhead, making it suitable for Fly.io, Docker, and VPS deployments.

사용 시점

  • Embedding price charts in trading alerts
  • Visualizing server metrics in monitoring reports
  • Generating activity heatmaps from log data
  • Plotting time series for scheduled digest emails
  • Creating candlestick charts for financial dashboards

예시 워크플로

입력

User asks: Plot hourly temperature readings from today as a dark-mode line chart with change annotation

에이전트
  1. 1

    Format temperature data as a JSON array with x (time) and y (temperature) fields

  2. 2

    Run chart.mjs with --type line, --x-type temporal, --dark, --show-change, --show-values flags

  3. 3

    Set --title and --output path under /data/clawd/tmp/

  4. 4

    Send the generated PNG to the user's channel using the message tool with filePath

출력

A dark-mode line chart PNG showing temperature over time with a +/-% change label at the last data point

설치

clawhub install dannyshmueli/chart-image

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크