visualize-data
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoals
目标
- Create efficient but highly readable tables/charts by applying good visualization settings and formattings.
- Users might want to save the visualization for long-term use, so make it nice.
- 通过应用合理的可视化设置与格式规范,创建高效且可读性极强的表格/图表。
- 用户可能需要保存可视化内容长期使用,因此需保证输出质量美观。
Pre-requisites
前置条件
- Set up Holistics MCP
- 已搭建 Holistics MCP 环境
Recommended workflow
推荐工作流
- to query the raw data (WITHOUT visualization requirements)
generate_aql - to create a viz on top of that AQL query (apply visualization requirements and default formattings)
generate_viz - to run the viz and show the result to the user
execute_viz
If fails, fall back to showing a plain table with .
generate_vizexecute_aql- 用于查询原始数据(无需携带可视化需求)
generate_aql - 用于基于上述AQL查询结果创建可视化内容(应用可视化需求与默认格式规范)
generate_viz - 用于运行可视化任务并向用户展示结果
execute_viz
如果 执行失败,回退到使用 展示纯文本表格。
generate_vizexecute_aqlRules
规则
- To update date/time filters, use first. It can write accurate date/time condition syntax.
generate_aql - Cohort retention should ALWAYS be visualized as Pivot Table.
- knows how to calculate cohort retention. You don't need to explain the steps when using it.
generate_aql - Always use to apply proper display formats for new percentage and currency dimensions/metrics.
generate_viz- Percentage: Make sure to display with proper "%" format
- Currency: Make sure to include the proper currency symbol
- Review the result and check that it meets the visualization goals. Follow up to improve your visualizations (using and
generate_viz) if needed.execute_viz
- 如需更新日期/时间筛选条件,请先调用 ,它可以生成准确的日期/时间条件语法。
generate_aql - 群组留存(Cohort Retention)必须始终以透视表形式可视化。
- 内置群组留存计算逻辑,调用时无需额外解释计算步骤。
generate_aql - 必须 使用 为新增的百分比、货币类维度/指标应用正确的展示格式:
generate_viz- 百分比:确保以正确的带「%」格式展示
- 货币:确保包含正确的货币符号
- 复盘结果,检查是否满足可视化目标。如有需要,可通过 和
generate_viz迭代优化可视化效果。execute_viz
Tool: generate_viz
generate_viz工具:generate_viz
generate_viz- To visualize plain tables (without any formatting, colors, etc.), you don't need to call this. You can use directly.
execute_aql - To visualize non-plain tables (e.g. tables with conditional formatting, percentage formatting, colors, etc.) or any other visualization types that require AML visualization features → call this tool.
- Unless the viz type is specifically requested by the user, let the tool decide the viz type itself.
- 如需可视化纯表格(无任何格式、颜色等配置要求),无需调用此工具,可直接使用 。
execute_aql - 如需可视化非纯表格(例如带条件格式、百分比格式、颜色配置等的表格)或其他需要使用AML可视化能力的可视化类型 → 调用此工具。
- 除非用户明确指定可视化类型,否则由工具自行决定可视化类型。