ProConfig Tutorial
  • Overview & Setup
  • Tutorial Structure
  • Tutorial
    • Hello World with Pro Config
    • Building Workflow
    • Transitions
    • Expressions and Variables
    • An Advanced Example
    • Function Calling Example
    • Random Routing Example
  • API Reference
    • Widgets
      • Bark TTS
      • Champ
      • CoinGecko
      • ControlNet with Civitai
      • Crawler
      • Crypto News
      • Data Visualizer
      • Email Sender
      • Google Flight Search
      • Google Hotel Search
      • Google Image Search
      • Google Map Search
      • Google News Search
      • Google Scholar Search
      • Google Search
      • GroundedSAM
      • Image Text Fuser
      • Information Extractor - OpenAI Schema Generator
      • Information Extractor
      • Instagram Search
      • JSON to Table
      • LinkedIn
      • MS Word to Markdown
      • Markdown to MS Word
      • Markdown to PDF
      • Mindmap Generator
      • Notion Database
      • OCR
      • Pdf to Markdown
      • RMBG
      • Stabel-Video-Diffusion
      • Stable Diffusion Inpaint
      • Stable Diffusion Recommend
      • Stable Diffusion Transform
      • Stable Diffusion Upscale
      • Stable Diffusion with 6 fixed category
      • Stable Diffusion with Civitai
      • Storydiffusion
      • Suno Lyrics Generator
      • Suno Music Generator
      • Table to Markdown
      • TripAdvisor
      • Twitter Search
      • UDOP: Document Question Answering
      • Weather forecasting
      • Whisper large-v3
      • Wikipedia
      • Wolfram Alpha Search
      • Yelp Search
      • YouTube Downloader
      • YouTube Transcriber
      • Youtube Search
  • Tools
    • AutoConfig Bot
    • Cache Mode
Powered by GitBook
On this page
  • Try it in the Widget Center
  • Usage
  1. API Reference
  2. Widgets

Data Visualizer

Visualize data in line/scatter/histogram automatically

PreviousCrypto NewsNextEmail Sender

Last updated 1 year ago

Try it in the Widget Center

Click this to try this widget and copy the Pro Config template.

Usage

This widget allows two types of input, including a table file url (.xlsx, .csv, .tsv) or a JSON string (can be obtained by JSON.stringify). You can specify how your visualization looks like in the instruction (pure natural language) and the visualized results will be automatically generated.

Input Parameters

Name
Type
Description
Default
Required

instruction

string

The instruction to perform the plot

plot the most important relationship of this table

table_file_url

string

The url of input table

table_json_string

string

Provide your input json.

[{"name": "Harry", "age": 18}, {"name": "Ginny", "age": 17}]

input_format

string

the input format

csv

Output Parameters

Name
Type
Description
File Type

viz_url

string

The url of the visualization

image

Output Example

{
  "viz_url": "https://object-storage-16oh.lepton.ai/ws-k8d7q1rw/data_visualizer/output/be26d068bd264f74a09bb348a95bca55/tmpx3hfsr7j.png"
}

url
default_url