250 AI Prompts for Data Analysis

The best Data Analysis prompts across 8 subcategories. Tested on ChatGPT, Claude, Gemini and every major model.

Browse the prompts

## Role
You are a data visualization specialist expert in William Cleveland's principles for time series analysis. Your goal is to create clear visualizations that reveal temporal patterns, seasonal trends, and anomalies hidden in time-based data.

## Task
Guide the user through creating an effective time series plot. Analyze their dataset structure, identify temporal granularity, determine appropriate scales, and implement visual elements that enhance pattern recognition.

## Context
The user has temporal data but needs help with:
- Proper date formatting and datetime conversion
- Scale selection (linear vs. logarithmic)
- Aspect ratio optimization (Cleveland's banking to 45 degrees)
- Reference lines for context (means, thresholds, events)
- Pattern identification (trends, seasonality, anomalies, cycles)

Apply Cleveland's principles: appropriate aspect ratios, readable gridlines, dire

Create Time Series Visualizations

Generates Python code for time series plots that reveal temporal patterns, seasonal trends, and anomalies using William Cleveland's visualization principles. Runs on ChatGPT, Claude, Gemini, and Grok.

194
You are a SQL query generator that translates plain-English questions into correct, readable SQL.

# Task
Given a natural-language question about data, produce a SQL query that answers it. If the user has not specified table or column names, infer them from context or ask clarifying questions. State your assumptions about the schema so the user can verify them.

# Requirements
- Use explicit JOIN syntax (INNER JOIN, LEFT JOIN, etc.) with ON conditionsโ€”never implicit comma joins
- Alias tables with short, meaningful names (e.g., `customers AS c`, `orders AS o`)
- Write standard SQL that works across PostgreSQL, MySQL, and SQL Server unless told otherwise
- Include a brief explanation below the query: one line per major clause (SELECT, FROM, JOIN, WHERE, GROUP BY, HAVING, ORDER BY) describing what it does in plain English

# Input
Question: {{question}}

Database context (optionalโ€”table na

Plain English to SQL Query Converter

Generate SQL queries from plain-English questions with assumptions and explanations.

134

Dashboard Design Specification Prompt

Generates a complete dashboard design specification with information architecture, responsive layouts, visual components, and interactive elements. Runs on ChatGPT, Claude, Gemini, and Grok.

133

Predict Customer Lifetime Value

A text prompt that builds customer lifetime value prediction models, retention probability scores, and value-based segments from your customer data, delivered as a structured analytical report with confidence intervals.

125

One Person Company Operator Dashboard

Generate a strategic operator dashboard that identifies key business insights and actionable steps, ideal for owners of small businesses or startups.

116
## Role
You are an expert data analyst and business intelligence specialist creating KPI dashboards.

## Task
Generate a comprehensive, visually appealing KPI dashboard specification that effectively tracks and analyzes key performance indicators for {{department-goals}}.

## Context
The dashboard should:
- Present data in a clear, intuitive layout with {{column-count}} columns
- Track these specific KPIs: {{kpi-list}}
- Enable actionable insights and performance comparison over time
- Include appropriate data visualizations (charts, graphs, tables)
- Incorporate drill-down capabilities and interactive elements for data exploration

## Output
Provide a structured dashboard specification with:

### Dashboard Overview
- Purpose and target audience
- Key objectives alignment

### KPI Definitions
- Each KPI with calculation method, target values, and thresholds

### Layout Design
- Column st

KPI Dashboard Specification Generator

Generates structured KPI dashboard specifications with layout design, visualization recommendations, and interactive features. Runs on ChatGPT, Claude, Gemini, and Grok for business intelligence and reporting.

96
## Role

You are an expert customer acquisition strategist and data analyst specializing in marketing ROI optimization and budget allocation for businesses under financial scrutiny.

## Task

Conduct a comprehensive customer acquisition analysis that evaluates the true cost-effectiveness of different marketing channels and delivers actionable budget optimization recommendations.

## Context

Analyze marketing performance data to surface patterns in customer acquisition costs, lifetime value ratios, and channel effectiveness. Calculate:

- Customer Acquisition Cost (CAC) per channel
- Customer Lifetime Value (CLV) and CLV:CAC ratios
- CAC payback period
- Channel-specific ROI
- Conversion and retention rates
- Revenue per customer by source

Identify high-value customer sources, evaluate channel saturation points and scalability potential, and assess seasonal trends and risk factors. Prov

Customer Acquisition Analysis Prompt for Marketing ROI

Generates a detailed marketing channel analysis report that calculates CAC, CLV, payback periods, and delivers budget reallocation recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

86

Interactive Dashboard Design Guide for Data Visualization

Generates a step-by-step guide to designing and implementing interactive dashboards tailored to your industry, data sources, and end users. Runs on ChatGPT, Claude, and Gemini to deliver structured best practices from requirements gathering through maintenance.

71

Data Storytelling Prompt for ChatGPT and Claude

Generates structured data narratives that transform raw datasets into accessible stories with insight analysis, narrative arcs, and visualization recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

70
Read the values off the attached {{chart-type}} and return them as a table with one row per {{series-or-category}}.

You have a crop tool and an image container with PIL and OpenCV. Use them: crop to each axis to read the scale, crop to the legend, then crop to each data region at higher magnification before you state a number. Measure pixel positions against the axis scale rather than estimating by eye. Verify any value that sits near a gridline by cropping again.

Report each value with the crop you read it from and a confidence of high, medium, or low. Where two series overlap and cannot be separated, say so rather than guessing. If the image resolution is too low to resolve {{smallest-unit}}, stop and ask for a higher-resolution export before continuing.

Dense Chart Reading With a Crop Tool

Generate a detailed reading of values from a chart image using image processing techniques to provide accurate data visualization analysis in a table format.

69
{
  "model": "jev-latest",
  "state": {
    "today": "{{today-iso-date}}",
    "document": "{{document-text}}"
  },
  "questions": {
    "mode": {
      "type": "choice",
      "instructions": "How is the {{date-role}} written in the document?",
      "criteria": {
        "absolute": "A calendar date that names a month",
        "relative": "Given relative to today, such as tomorrow or next Friday",
        "none": "The document does not state this date"
      }
    },
    "month": {
      "type": "choice",
      "instructions": "If the {{date-role}} is an absolute calendar date, which month is it in?",
      "criteria": {"january": "January", "february": "February", "march": "March", "april": "April", "may": "May", "june": "June", "july": "July", "august": "August", "september": "September", "october": "October", "november": "November", "december": "December", "none": "Not an absolute 

Date Extraction Without Letting the Model Do Math

Extracts specified dates from text documents without performing mathematical operations.

69

Data Analysis Report Generator Prompt

Generates structured analytical reports with methodology, findings, visualizations, and actionable recommendations from any dataset. Runs on ChatGPT, Claude, Gemini, and Grok for text-based analysis output.

68

A/B Testing Strategy Framework Prompt

Generates a systematic A/B testing protocol that transforms marketing hypotheses into statistically valid experiments, complete with power calculations, sample sizing, and quality safeguards. Runs on ChatGPT, Claude, Gemini, and Grok.

67
## Role
You are an expert data analyst specializing in descriptive statistics and translating quantitative findings into actionable business insights for non-technical audiences.

## Task
Generate clean, executable code that calculates comprehensive summary statistics for the user's dataset, then provide clear interpretations that explain what the numbers reveal about data patterns, variability, and quality.

## Context
The user will provide:
{{dataset-details}} โ€” dataset format (CSV, Excel, JSON, etc.), programming language preference (Python, R, SQL, etc.), and which columns to analyze (specific names or all numeric columns)

And their analysis objective:
{{analysis-goal}} โ€” what they want to learn from the data and their statistical background level (beginner, intermediate, or advanced)

## Output
Deliver two components:

**1. Statistical Analysis Code**
Provide well-commented code th

Statistical Summary Generator for Datasets

Generates executable code that calculates descriptive statistics (Tukey's five-number summary, mean, standard deviation, percentiles) for numeric datasets, then provides interpretations of central tendency, spread, skewness, and outliers. Runs on ChatGPT, Claude, Gemini, and Grok.

66
## Role
You are an expert in Microsoft Excel, providing clear, accurate instructions for tasks including pivot tables, formulas, data formatting, and charts.

## Task
Provide a comprehensive step-by-step guide to complete the specified Excel task described by the user.

## Instructions

1. **Define the task**: Clearly restate the specific Excel task or problem to be solved.

2. **Prerequisites**: Outline the initial setup required:
   - Required data structure or range
   - Any preliminary formatting needed
   - Relevant Excel version considerations or settings

3. **Step-by-step walkthrough**: Detail each action required:
   - Which tab, menu, or function to access
   - Exact formulas or data to enter, with explanations of each component and its purpose
   - Parameters or options to configure, explaining what each choice affects
   - How to verify results for accuracy

4. **Best practic

Excel Task Guide Prompt for ChatGPT

Generates step-by-step instructions for any Microsoft Excel task, from pivot tables and formulas to charts and data formatting. Runs on ChatGPT, Claude, and other text models.

64

Sales Performance Dashboard Generator Prompt

Generates comprehensive sales performance dashboards tracking KPIs, rep activity, product revenue, and customer segments across your funnel. Runs on ChatGPT, Claude, Gemini, and Grok.

59

Digital Experience Friction Analysis Prompt

Identifies friction points and optimization opportunities across digital customer journeys by analyzing user flow patterns, bounce rates, and conversion funnels. Runs on ChatGPT, Claude, Gemini, and Grok.

59
## Role

Excel formula expert specializing in advanced functions, array formulas, and creative problem-solving techniques.

## Task

Solve the user's Excel formula challenge by:

1. Asking 2-3 clarifying questions to fully understand the data structure, desired outcome, and constraints
2. Listing any assumptions made based on the provided information
3. Providing a complete, working advanced Excel formula
4. Breaking down the formula component-by-component with clear explanations
5. Offering 1-2 alternative approaches when applicable
6. Sharing relevant tips and best practices

## Context

User's Excel challenge:
{{excel-problem}}

## Requirements

- Deliver production-ready formulas that work without modification
- Explain logic clearly enough for the user to adapt the solution independently
- Be specific and detailed; avoid generic advice
- Verify understanding before making assumption

Advanced Excel Formula Solver Prompt

Generates production-ready Excel formulas with step-by-step explanations for complex spreadsheet challenges. Runs on ChatGPT, Claude, Gemini, and Grok to deliver array formulas, nested functions, and alternative solutions.

58
## Role
You are a content performance analyst specializing in cross-platform measurement and optimization. You translate raw metrics into actionable strategies that connect content performance to business outcomes.

## Task
Analyze the provided content metrics to build a performance framework that identifies meaningful KPIs, establishes realistic benchmarks, and delivers prioritized optimization recommendations.

## Context
Content creators often track vanity metrics while missing signals that drive real business results. Platform algorithms evolve constantly, and stakeholders need clear ROI evidence from content investments. Your framework must cut through noise to surface what matters.

## Input Required
- {{content-metrics-data}} โ€“ paste or attach your performance data (views, engagement, conversions, traffic sources, etc.)
- {{platforms-and-objectives}} โ€“ list your primary content pl

Content Performance Framework Builder for Analytics

Builds a structured content performance framework that translates raw metrics into KPI hierarchies, benchmarks, and prioritized optimization recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

57

Two-Stage Product Category Assignment

Generate department and subcategory classifications for products using a two-stage hierarchy traversal. Produces JSON output for integration.

55

Goal-Tracking Dashboard Design Prompt for Business

Generates a custom dashboard template with goal-tracking tables, recommended visualizations, and design specifications tailored to your software and business type. Runs on ChatGPT, Claude, and Gemini.

55

Data Validation Framework Generator

Generates systematic data validation logic and quality assessment frameworks that verify integrity across completeness, accuracy, consistency, timeliness, and referential integrity dimensions. Runs on ChatGPT, Claude, Gemini, and Grok.

53
## Role

You are an expert omnichannel analytics strategist specializing in customer journey mapping and cross-channel behavioral analysis. Your expertise lies in transforming fragmented touchpoint data into revenue-driving insights and revealing hidden conversion patterns that traditional analytics tools miss.

## Task

Analyze multi-platform customer behavior data and create a comprehensive strategic report that maps complete customer journeys, identifies optimization opportunities, and provides actionable recommendations for improving conversion rates and customer experience.

## Context

{{business-context}}

{{customer-data}}

## Analysis Requirements

1. **Customer Segmentation**: Identify distinct customer segments based on behavioral patterns and preferred channel combinations.

2. **Journey Mapping**: Map complete customer journeys from initial awareness through post-purchase be

Multi-Platform Customer Behavior Analysis Prompt

Generates a comprehensive strategic report mapping customer journeys across channels, identifying conversion paths, and providing optimization recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

53

What are AI prompts for Data Analysis?

AI prompts for Data Analysis are engineered instructions that already work. These are not one-line questions. Each one fixes the role, the context, the task and the output format before you type a word, so you get a usable result on the first run instead of the fourth.

They cover the work Data Analysis actually get asked for: research and briefs, copy and content, analysis and reporting, planning, outreach and the admin that eats the day. Open a card to see the full prompt and the output it returns.

The deepest areas here: App Development (109 prompts), Data Insights (86 prompts), Reporting & Dashboards (61 prompts), Data Cleaning (19 prompts), Data Visualization (19 prompts).

Popular on this page right now: "Create Time Series Visualizations", "Plain English to SQL Query Converter", "Dashboard Design Specification Prompt".

250 on this page, every one scoped to Data Analysis. Free to read, free to copy.

Why these prompts work for Data Analysis

A weak prompt costs you the hour you were trying to save: you rewrite it three times, get something generic, then finish the job by hand. An engineered prompt front-loads that thinking once.

In Data Analysis that means first drafts you can send, analysis you can act on, and the repetitive work handed off, so the time goes into judgement instead of typing.

Every prompt here was written for a real job and tested against the models people actually use. Nothing scraped from a thread.

How to use these prompts

Open a prompt, copy it, and replace the [bracketed] variables with your own product, audience or topic. The structure around them stays as is. That structure is the part doing the work.

Paste it into ChatGPT, Claude, Gemini, Grok or the model you already use. If the output drifts, tighten the context line instead of rewriting the whole prompt.

No account needed to copy one. No setup, no extension, nothing to install.

Which AI tool works best for Data Analysis prompts?

Text prompts here run well in ChatGPT, Claude, Gemini and Grok; image prompts target Midjourney and Nano Banana. Each card lists the models it was tested with.

Are these AI prompts free to use?

A big part of the library is free: open a prompt, copy it, use it. Premium packs and the Complete AI Bundle unlock the full collection with lifetime updates.

How do I adapt these prompts to my use case?

Start with the [variables]: niche, audience, constraints. If the result still misses, add one example of the output you want. A single good example beats three extra instructions.

For a prompt built from scratch, the Start Now card above opens the custom prompt generator.

Related resources

Get smarter on AI every week

One email a week with the best new prompts, tools, and model updates. Unsubscribe anytime.

Join 100,000+ subscribers. One email a week, real prompts, tools, and model updates. Unsubscribe anytime.