origin_recommend_chart
Analyze a data file's structure and column meanings to suggest appropriate chart types, optionally guided by a natural-language description of the desired visualization.
Instructions
Recommend chart types from table shape, column semantics, and optional intent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a CSV, TSV, TXT, DAT, XLS, or XLSX file. | |
| nrows | No | Maximum number of data rows to read. | |
| x_col | No | Column name or zero-based index to use as X. Defaults to the first column. | |
| z_col | No | Optional Z column for contour/XYZ plots. | |
| header | No | Zero-based row number to use as column names. | |
| intent | No | Optional natural-language chart intent used to guide automatic routing. | |
| y_cols | No | Column names or zero-based indexes to plot as Y. Defaults to all non-X columns. | |
| encoding | No | Optional text file encoding. | |
| skiprows | No | Rows to skip while reading. | |
| delimiter | No | Delimiter for text files. If omitted, CSV/TSV defaults or auto-detection are used. | |
| na_values | No | Additional missing value markers. | |
| excel_sheet | No | Excel sheet name or zero-based index. Ignored for text files. | |
| x_error_col | No | Optional X error column. | |
| y_error_col | No | Optional Y error column. | |
| max_recommendations | No | Maximum number of ranked chart recommendations to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||