data-visualization-tool
生成数据可视化
将数据库查询结果转换为有意义的图表和图形。此技能帮助 Claude Code 用户直接在 DBX Studio 中从 SQL 查询创建柱���图、折线图、饼图等。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“data-visualization-tool”。 Create a bar chart showing total revenue by product category
预期结果:
A bar chart titled 'Revenue by Product Category' with category names on X-axis and total revenue values on Y-axis
正在使用“data-visualization-tool”。 Show monthly active users trend for the past year
预期结果:
A line chart titled 'Monthly Active Users - Past 12 Months' with months on X-axis and user count on Y-axis
正在使用“data-visualization-tool”。 Display order status distribution
预期结果:
A pie chart titled 'Order Status Distribution' showing percentage of orders in each status category
安全审计
安全All 27 static findings are false positives. The skill is a documentation file (SKILL.md) containing markdown text and SQL examples. The static analyzer incorrectly flagged markdown backticks (code formatting) as shell commands, and misinterpreted other markdown syntax as cryptographic algorithms. No actual code execution, network calls, or system access exists in this skill.
中风险问题 (1)
低风险问题 (2)
质量评分
你能构建什么
分析销售趋势
根据订单数据创建显示收入随时间变化的折线图
比较类别表现
构建柱状图以比较各产品类别的指标
显示数据分布
生成直方图以了解数据分布和异常值
试试这些提示
Create a bar chart showing [metric] by [category] from the [table] table
Show the trend of [metric] over time using a line chart for the last [time_period]
Create a pie chart showing the breakdown of [column] as percentages
Generate a scatter plot comparing [x_metric] versus [y_metric] to see the relationship
最佳实践
- 始终使用描述性的图表标题,并在相关时包含时间段
- 保持坐标轴标签可读,而非使用原始列名
- 在绘图前聚合数据以避免显示原始行级别数据
避免
- 使用超过 7 个分区的饼图会使数据难以阅读
- 对于时间序列数据,当折线图更清晰时使用柱状图
- 不设置有意义的���题会导致图表输出令人困惑