malloy-charts

Guide chart type selection and rendering for Malloy views.

95|24|Updated Sep 16, 2024
One-click install
npx skills add https://github.com/malloydata/publisher --skill malloy-charts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malloy-charts
Source: https://github.com/malloydata/publisher/tree/main/skills/malloy-charts
Command: npx skills add https://github.com/malloydata/publisher --skill malloy-charts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides guidance on choosing the right chart type for Malloy views, helps in adding chart annotations, and serves as a reference for rendering charts.

Core Features & Use Cases

  • Chart Selection Guidance: Offers a decision tree for choosing the appropriate chart type based on data shape and goal.
  • Renderer Reference: Provides detailed instructions on how to render various chart types in Malloy.
  • Use Case: When you need to decide between different chart types like bar_chart, line_chart, scatter_chart, etc., or want to add annotations for better visualization.

Quick Start

Use the malloy-charts skill to select the best chart type for your data and learn how to render it in Malloy.

Frequently Asked Questions about malloy-charts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right chart type for my Malloy views?

To choose the right chart type for Malloy views, apply a decision tree based on data shape and goals to select bar_chart, line_chart, or scatter_chart. The guidance helps match visualization types to specific analytical needs.

What is the best way to render Vega-Lite charts in Malloy?

Rendering Vega-Lite charts in Malloy requires referencing detailed instructions for various chart types. The guidance provides rendering references and annotation steps to correctly apply visual configurations within Malloy syntax.

Do I need to know Vega-Lite to use Malloy for data visualization?

Yes, effective data visualization in Malloy requires knowledge of Malloy syntax and Vega-Lite underpinnings. Understanding both is necessary to apply chart selection guidance and correctly render visual outputs.

How do I add annotations to a Malloy chart?

Adding annotations to a Malloy chart involves applying specific rendering instructions provided by the chart reference. This guides the addition of descriptive labels and visual cues to improve data visualization clarity.

When should I use a bar chart versus a line chart in Malloy?

Choosing between a bar_chart and line_chart in Malloy depends on your data shape and analytical goal. The chart selection guidance provides a decision tree to evaluate these factors and determine the appropriate visualization.