get_sample_data_info
Retrieve details about sample datasets for visualization, including iris, tips, stocks, and gapminder. Use this to understand data structures before building charts.
Instructions
If user provides no data, use this tool to get sample data information.
Use the following data for the below purposes:
- iris: mostly numerical with one categorical column, good for scatter, histogram, boxplot, etc.
- tips: contains mix of numerical and categorical columns, good for bar, pie, etc.
- stocks: stock prices, good for line, scatter, generally things that change over time
- gapminder: demographic data, good for line, scatter, generally things with maps or many categories
Returns:
Data info object containing information about the dataset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_name | Yes | Name of the dataset to get sample data for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| file_path_or_url | Yes | ||
| column_names_types | No | ||
| file_location_type | Yes | ||
| read_function_string | Yes |