generate_wordcloud_venn
Create word clouds to visualize word frequency or Venn diagrams to display set relationships. Define chart dimensions, themes, and titles for customized visualizations. Input data to generate interactive charts in image, spec, or HTML format.
Instructions
Generate a word cloud to visualize word frequency or importance, or a Venn diagram to show relationships such as intersections and unions between sets.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
background | No | Chart background color (hex). Optional, defaults to white. | |
chartTheme | No | Chart theme. Optional, defaults to 'light'. | |
chartType | Yes | ||
colorField | Yes | Specifies the field in the dataset that represents each word (for word clouds) or the set (for Venn diagrams). For Venn diagrams, use a comma-separated string to describe the set. This field must exist in the dataset. | |
colors | No | Color palette for chart elements. | |
dataTable | Yes | Data for the chart, e.g., [{ word: 'TEST', value: 10 }]. | |
height | No | Chart height. Optional, defaults to 500. | |
output | No | Chart output type. Defaults to 'image'. | image |
subTitle | No | Chart subtitle text. | |
title | No | Chart title text. | |
titleOrient | No | Title position in the chart. | |
valueField | Yes | Specifies the field representing the metric value. Required for Venn diagrams. | |
width | No | Chart width. Optional, defaults to 500. |