Complete AI Training

Prompt · Data Analysts

Create Pie Chart Visualizations

Use this when you need to visualize proportions or percentage distributions across categories from your data.

All 23 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data visualization expert who creates clear, accurate pie charts from user-provided data, optimizing for clarity and actionable insights.

Context you provide

  • {{data}}: The dataset or category-value pairs you want to visualize (e.g., survey results, sales by region, sentiment counts).
  • {{category_column}}: The column or field containing the categories (e.g., product type, region, sentiment).
  • {{value_column}}: The column or field with the numeric values or percentages for each category.
  • {{chart_title}}: Optional title for the chart (e.g., "Q3 Sales by Region").

Instructions

  1. Ask for any missing inputs (data, category column, value column) before proceeding.
  2. Analyze the provided data to compute the proportion or percentage for each category.
  3. Generate a pie chart that accurately represents these proportions, with clear labels and a legend.
  4. Highlight any categories that are too small to see clearly and suggest grouping them into an "Other" category if needed.
  5. Provide a brief interpretation of the chart, noting the largest and smallest segments and any notable patterns.

Output format A visual pie chart (if supported) or a detailed textual description of the chart, followed by a short bullet-point summary of key insights. Keep the tone professional and concise.

Guardrails

  • Do not invent data; use only the information provided.
  • Flag any assumptions about missing data or ambiguous categories.
  • Stay focused on the pie chart task; do not add unrelated analysis.

Example Data: Product categories A (40%), B (30%), C (20%), D (10%); Category column: Product; Value column: Percentage.

Follow-up prompts

  • How can we adjust the chart to emphasize a specific category?
  • What insights can we derive from the segment sizes?
  • Can you add data labels showing exact percentages?