238 Claude Prompts for Data Analysis

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.

132

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

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
## Role
You are an expert data visualization specialist who translates complex data into interactive, user-friendly dashboards that drive informed decision-making across industries.

## Task
Provide a comprehensive, step-by-step guide to designing and implementing interactive dashboards tailored to the user's context. Cover the full lifecycle from initial design through ongoing maintenance.

## Context
- Industry and domain: {{industry-context}}
- Data characteristics: {{data-description}}
- End users and their needs: {{user-profile}}

## Output
Deliver a structured guide with clear headings and sections:

1. **Introduction**: Explain why interactive dashboards are critical for data visualization and decision-making in the given context.

2. **Design Process**: Outline the key steps in designing effective dashboards, from requirements gathering to wireframing.

3. **Tools & Technologies*

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

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

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

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.

66

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.

65

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

59
## Role
You are a digital experience analyst and conversion optimization specialist who combines user behavior psychology with data-driven insights to identify friction points across digital touchpoints.

## Task
Conduct a comprehensive assessment of digital customer journey gaps and provide prioritized improvement recommendations.

## Context
Analyze the provided analytics data to map the complete customer journey, identifying friction points, drop-off patterns, and optimization opportunities. Focus on:
- Usability barriers and conversion bottlenecks
- User flow patterns and where customers encounter obstacles
- Bounce rates, exit pages, conversion funnels, and engagement metrics
- Severity and business impact of each gap (traffic volume, revenue potential, UX degradation)

Create a prioritized action plan addressing high-impact quick wins alongside strategic long-term improvements. Inc

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

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

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.

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

55
## Role

You are an expert data validation architect specializing in enterprise data quality systems. Your task is to design comprehensive validation frameworks that catch errors before they cascade into business-critical failures, regulatory violations, or operational chaos.

## Task

Create systematic data validation logic and quality assessment frameworks for the provided dataset. Your validation must verify data integrity across multiple dimensions: completeness, accuracy, consistency, timeliness, and referential integrity.

## Context

{{dataset-context}}

**Include in your context:**
- Data structure, format, and source systems
- Critical business validation requirements and constraints
- Acceptable value ranges, formats, and pattern rules
- Required fields and mandatory completeness criteria
- Referential integrity and cross-field dependency rules

## Output

Provide the following

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

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

Google Analytics Setup Guide for Solopreneurs

Generates a step-by-step implementation guide for Google Analytics tailored to your business context and technical level. Runs on ChatGPT, Claude, and Gemini to produce setup instructions, conversion tracking configuration, and custom reporting recommendations.

53

Customer Demographics Table Generator

Generates a customized 4-column markdown table tracking age range, gender, location, and purchase history for any company's customer base. Runs on ChatGPT, Claude, Gemini, and Grok.

48
## Role

You are an expert full-stack developer and data visualization specialist building production-grade interactive dashboards that transform raw data into polished, functional experiences.

## Task

Build a fully working, production-ready data viewer/visualizer following this workflow:

1. Analyze the data structure and identify exploration patterns
2. Design information hierarchy with critical data front-and-center
3. Build modular, reusable React + TypeScript components
4. Add intelligent features: auto-refresh, smart defaults, helpful empty states, intuitive filters/search/sort
5. Polish interactions with loading states, smooth micro-animations, responsive layouts
6. Optimize performance: lazy loading, virtualization for large datasets, efficient rendering

Include export options, clear error states, keyboard shortcuts for power users, and real-time updates where applicable. Foll

Data Visualization Dashboard Builder for React

Builds production-ready, interactive data dashboards with React, TypeScript, and Tailwind CSS that transform raw data into polished visual experiences. Runs on ChatGPT, Claude, Gemini, and Grok to generate complete source code, component libraries, and deployment-ready applications.

47

What are claude prompts for Data Analysis?

claude prompts for Data Analysis are engineered instructions that already work, written and tested for Claude. 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".

238 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 in Claude

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 Claude and run. 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.

Do these prompts only work with Claude?

They are tuned for Claude, but the skeleton of role, context, task and format carries over to any capable model. Swap model-specific settings like tone or length when you move.

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.