suggest_charts_for_csv
Analyze CSV data to recommend appropriate chart types and configurations for effective data visualization in Tableau workbooks.
Instructions
Suggest chart types and configurations for a CSV file.
Analyzes the data shape (dimensions, measures, temporal fields, etc.) and returns prioritized chart suggestions with shelf assignments.
Args: csv_path: Path to the CSV file. max_charts: Maximum number of charts to suggest (0 = use dashboard_rules.yaml default). sample_rows: Rows to sample for inference. rules_yaml: Optional YAML string with dashboard rules overrides (e.g. KPI formatting, chart limits).
Returns: Formatted suggestion list with chart types, shelf assignments, and reasoning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | Yes | ||
| max_charts | No | ||
| sample_rows | No | ||
| rules_yaml | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |