Back to Prompt Library
Data Analysis
data visualizationchartsBIdashboardanalytics

Data Visualization Specification

A detailed visualization spec with chart types, data mappings, accessible colors, and annotation guidance that a developer can build directly.

Prompt Template

Write a data visualization specification for displaying the following data: [DATA_DESCRIPTION]. The visualization is for: [AUDIENCE — e.g., executive dashboard / customer-facing report / internal analyst]. The key insight the visualization must communicate: [KEY_INSIGHT]. For each visualization recommended: (1) Chart type and rationale — name the chart type and explain in one sentence why it's the right choice for this data and message, (2) Data mapping — specify exactly which data field maps to X axis, Y axis, color, size, and tooltip, (3) Title and labels — provide the exact chart title (state the insight, not the topic), axis labels, and legend labels, (4) Formatting — number formatting, date formatting, color palette (use [BRAND_COLORS] or suggest neutral accessible colors), (5) Annotations — any reference lines, callout labels, or highlighted regions and what they show, (6) Interactivity — if applicable, what hover states, filters, or drill-downs are needed, (7) Accessibility — alt text for the chart and any colorblind-safe considerations. Recommend [NUMBER_OF_VIZZES — e.g., 2–3] visualizations that work together to tell the complete story.

How to use this prompt

  1. Copy the prompt template using the button above.
  2. Paste it into your preferred AI assistant (ChatGPT, Claude, Gemini, etc.).
  3. Replace all bracketed placeholders like [TOPIC] with your specific details.
  4. Send the prompt and refine the output as needed.
Advertisement