com um clique
data-visualization-tool
Chart and visualization generation for DBX Studio. Use when a user wants to visualize data — bar charts, line graphs, pie charts, scatter plots, etc.
Menu
Chart and visualization generation for DBX Studio. Use when a user wants to visualize data — bar charts, line graphs, pie charts, scatter plots, etc.
Systematic database and table profiling for DBX Studio. Use when a user wants to understand their data, explore schema structure, or profile a dataset.
Expert SQL query generation for DBX Studio. Use when writing, optimizing, or debugging SQL queries against user database connections.
Reference for all AI tools available in DBX Studio's AI chat system. Use when adding, modifying, or debugging AI tool definitions, tool execution, or provider integrations.
Systematic database and table profiling for DBX Studio. Use when a user wants to understand their data, explore schema structure, or profile a dataset.
Chart and visualization generation for DBX Studio. Use when a user wants to visualize data — bar charts, line graphs, pie charts, scatter plots, etc.
Expert SQL query generation for DBX Studio. Use when writing, optimizing, or debugging SQL queries against user database connections.
| name | data-visualization-tool |
| description | Chart and visualization generation for DBX Studio. Use when a user wants to visualize data — bar charts, line graphs, pie charts, scatter plots, etc. |
The generate_chart tool supports these types:
| Type | Best For |
|---|---|
bar | Comparisons between categories |
line | Trends over time |
pie | Part-to-whole relationships (< 7 slices) |
scatter | Correlation between two numeric values |
area | Cumulative trends over time |
histogram | Distribution of a numeric column |
data_query)generate_chart with the config{
"chart_type": "bar",
"title": "Monthly Revenue by Product Category",
"x_axis": "category",
"y_axis": "revenue",
"data_query": "SELECT category, SUM(amount) AS revenue FROM orders GROUP BY 1 ORDER BY 2 DESC",
"group_by": "category"
}
User says "trend" or "over time" → line chart, x_axis = date column
User says "compare" or "by category" → bar chart
User says "breakdown" or "share" → pie chart (only if ≤ 7 categories)
User says "distribution" or "spread" → histogram
User says "relationship" or "correlation" → scatter
SELECT category, COUNT(*) AS count
FROM orders
GROUP BY category
ORDER BY count DESC
LIMIT 10
SELECT DATE_TRUNC('day', created_at) AS date, SUM(amount) AS revenue
FROM orders
WHERE created_at >= NOW() - INTERVAL '30 days'
GROUP BY 1
ORDER BY 1
SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status