Receber por email
← Voltar para o catálogo

data-visualization

Chart and visualization generation for DBX Studio. Use when a user wants to visualize data — bar charts, line graphs, pie charts, scatter plots, etc.

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/data-visualization-mpszucen/svg)](https://www.skillteca.com.br/skills/data-visualization-mpszucen)

Skills relacionadas

Ver todas de Dados e Análise →

Alerta por categoria

Receba novas skills de Dados e Análise toda segunda

1 email curto, só com as skills novas de Dados e Análise. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Data Visualization — DBX Studio

Chart Types Available

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 |

Workflow

  1. Understand what the user wants to visualize
  2. Write the SQL query to get the data (data_query)
  3. Call generate_chart with the config
  4. Confirm chart title and axes are meaningful

generate_chart Parameters

{
  "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"
}

Chart Selection Guide

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

Data Query Patterns

Bar: Top N categories

SELECT category, COUNT(*) AS count
FROM orders
GROUP BY category
ORDER BY count DESC
LIMIT 10

Line: Time series

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

Pie: Proportion breakdown

SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status

Design Principles

  • Always give the chart a descriptive title including the time period if relevant
  • Keep x_axis and y_axis names human-readable (not raw column names)
  • For large result sets, aggregate before charting (avoid raw row-level data)
  • Pie charts: max 7 slices, group remainder as "Other"
Compartilhar X LinkedIn