İçeriğe geç
TakoAPI
Becerilere dön

chart-splat

bobbyg603 tarafından

Image & Video Generation
216İndirme sayıları clawskills.sh tarafından bildirilir
2Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Generate beautiful charts via the Chart Splat API.

Açıklama

Bu Beceri Ne Yapar

Generates charts from data using the Chart Splat API, returning PNG images rendered server-side with Chart.js. Supports line, bar, pie, doughnut, radar, polar area, candlestick, and OHLC chart types. Charts are created via a CLI command or a helper script.

No local rendering setup required — the API handles Chart.js server-side and returns a ready-to-use PNG file.

Ne Zaman Kullanılır

  • Plotting quarterly revenue as a bar chart
  • Visualizing stock price history with a candlestick chart
  • Breaking down budget allocations in a pie chart
  • Tracking weekly website traffic trends with a line chart
  • Comparing team performance across multiple dimensions on a radar chart

Örnek İş Akışı

GİRİŞ

User asks: create a bar chart of quarterly revenue: Q1=$50k, Q2=$75k, Q3=$60k, Q4=$90k

AJAN
  1. 1

    Formats labels as 'Q1,Q2,Q3,Q4' and data as '50,75,60,90'

  2. 2

    Runs: npx -y chartsplat-cli bar --labels 'Q1,Q2,Q3,Q4' --data '50,75,60,90' --title 'Quarterly Revenue' -o chart.png

  3. 3

    Chart Splat API renders the chart server-side and returns a PNG

  4. 4

    CLI decodes the response and saves it to chart.png

ÇIKIŞ

PNG file saved to chart.png showing a bar chart of quarterly revenue

Gereksinimler

  • CHARTSPLAT_API_KEY — API key from chartsplat.com/dashboard

Kurulum

clawhub install bobbyg603/chart-splat

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar