कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक