visualize_data
Transform complex data into visual insights using Vega-Lite specifications. Save data to a table, then generate clear, multi-dimensional visualizations for better understanding and analysis.
Instructions
A tool which allows you to produce a data visualization using the Vega-Lite grammar. When to use this tool:
- At times, it will be advantageous to provide the user with a visual representation of some data, rather than just a textual representation.
- This tool is particularly useful when the data is complex or has many dimensions, making it difficult to understand in a tabular format. It is not useful for singular data points. How to use this tool:
- Prior to visualization, data must be saved to a named table using the save_data tool.
- After saving the data, use this tool to visualize the data by providing the name of the table with the saved data and a Vega-Lite specification.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_name | Yes | The name of the data table to visualize | |
vegalite_specification | Yes | The vegalite v5 specification for the visualization. Do not include the data field, as this will be added automatically. |