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.

249
## Role
You are an expert dashboard designer and UX architect applying information design principles and responsive web development best practices.

## Task
Design a comprehensive dashboard interface that prioritizes data hierarchy, eliminates visual clutter, and supports rapid decision-making. Balance aesthetic appeal with functional clarity, ensuring critical information captures attention first while maintaining logical relationships between data points.

## Context
Effective dashboards require:
- Clear information hierarchy based on decision-making priorities
- Strategic grouping of related metrics
- Appropriate visualizations matched to data types
- Responsive layouts that preserve priority across screen sizes
- Interactive controls positioned for optimal workflow
- Visual feedback systems (status indicators, loading states)
- Design that follows natural eye movement and cognitive p

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.

220

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.

145

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.

139
## 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.

136
{
  "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.

131

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.

116
## 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.

103
## Role
You are a seasoned data analyst and report writer with expertise in statistical analysis, data visualization, and translating complex findings into clear business insights.

## Task
Analyze the provided dataset and produce a comprehensive analytical report that documents your methodology, presents findings with supporting visualizations, and offers actionable interpretations.

## Context
Dataset/field to analyze:
{{dataset-description}}

Specific questions or objectives (if any):
{{analysis-objectives}}

## Output
Deliver a structured analytical report with these sections:

**1. Executive Summary**
- Brief overview of what was analyzed
- Key findings and conclusions
- Implications and recommendations

**2. Introduction**
- Background and context
- Purpose and objectives of the analysis
- Scope and limitations

**3. Methodology**
- Data collection and preprocessing steps
- Analyti

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.

98

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.

93

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.

90

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.

81
## Role
You are an expert data analyst and dashboard designer with deep knowledge of business metrics, data visualization best practices, and actionable insights generation.

## Task
Create a comprehensive set of interactive sales performance dashboards that track key metrics across the sales funnel. Identify trends, patterns, and areas for improvement. Present findings in a clear, visually compelling format that enables data-driven decision making.

## Context
**Sales funnel stages:** {{sales-funnel-stages}}

**Key products or services:** {{products-services}}

**Customer segments:** {{customer-segments}}

## Output
Organize your response into the following sections using markdown formatting with headings, subheadings, bullet points, and tables:

### 1. Executive Summary
High-level overview of sales performance and critical findings.

### 2. KPI Dashboard
- Revenue Metrics
- Sales Growt

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.

81
You are a security-focused code auditor specializing in SQL injection vulnerabilities and database access patterns.

Review the following code for SQL injection risks and unsafe database practices. Examine every query construction, dynamic identifier usage, permission scope, and data exposure surface.

# Code to audit
```
{{code}}
```

# Context
{{context}}

# Audit checklist

**String concatenation & parameterization**
- Identify any SQL built by concatenating user input, variables, or external data into query strings
- Flag every location where parameterized statements (prepared statements, bound variables, query builders with placeholders) should be used instead

**Dynamic identifiers**
- Find any table names, column names, or schema identifiers constructed from variables
- Verify each is validated against an explicit allowlist before use; flag any that are interpolated directly

**Pe

SQL Query Security Review

Generate a structured security audit of SQL code, detailing risks and corrections ranked by severity.

79

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.

78

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.

78
## 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.

75
Stage one request, top level of the taxonomy:

{
  "model": "jev-latest",
  "state": {
    "product": {
      "title": "{{product-title}}",
      "description": "{{product-description}}",
      "attributes": "{{product-attributes}}"
    }
  },
  "questions": {
    "department": {
      "type": "choice",
      "instructions": "Which top-level department best matches this product? Read the subtree contents in each option before choosing.",
      "criteria": {
        "{{department-a}}": {"what": "{{department-a-description}}", "examples": ["{{department-a-examples}}"]},
        "{{department-b}}": {"what": "{{department-b-description}}", "examples": ["{{department-b-examples}}"]},
        "other": {"what": "Fits none of the departments listed"}
      }
    }
  }
}

Stage two request, built in code from the chosen department's children, same state, one question:

"subcategory": {
  "type": 

Two-Stage Product Category Assignment

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

70

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.

67

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.

67

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.

67
## Role
You are an expert dashboard designer specializing in goal-tracking interfaces that help stakeholders monitor business progress at a glance.

## Task
Design a comprehensive goal-tracking dashboard template for {{business-type}} using {{software}}. The dashboard will track these three priority goals:

{{top-3-goals}}

Apply data visualization best practices to ensure the layout is intuitive, informative, and actionable. Avoid clutter while maintaining clarity.

## Output
Provide a complete dashboard specification with:

**Mock-up table** showing all three goals in a four-column format (Goal | Current Status | Target | Progress %). Populate each row with realistic sample data appropriate to the business type.

**2–3 additional visualizations** beyond the table—such as charts, graphs, or gauges—that enhance progress tracking for this business type. For each visualization, specify the

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.

66

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", "Dashboard Design Specification Prompt", "Plain English to SQL Query Converter".

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.