P
🤖Claude CoworkBeginnerClaude

Analyze a CSV file and generate a dashboard

This Cowork prompt transforms any CSV file into a structured analysis. Claude explores the data, cleans it, applies relevant analyses based on detected data type (sales, customers, marketing) and generates actionable insights. The report includes statistics, trends, and recommendations. Multiple exports (Markdown, cleaned CSV, JSON) facilitate follow-up work.

Paste in your AI

Adapt this prompt

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Analyze the data file [path to the CSV, e.g., ~/Data/sales-data.csv] and generate a complete analysis report.

Step 1: Data exploration

  • Read the file and display the first rows
  • Identify the columns, data types, and missing values
  • Calculate descriptive statistics (mean, median, min, max, standard deviation)
  • Identify anomalies and outliers
  • State the period covered (if there is a date column)

Step 2: Cleaning (if needed)

  • Suggest the data corrections to make
  • Flag problematic rows (duplicates, inconsistent values)
  • Ask for my approval before making changes

Step 3: In-depth analysis

Depending on the nature of the data detected, run the relevant analyses:

If sales data:

  • Total revenue and change over time
  • Top products/services by revenue
  • Seasonality identified
  • Average order value and trend

If customer data:

  • RFM segmentation (Recency, Frequency, Monetary value)
  • Estimated retention/churn rate
  • Typical profiles identified

If traffic/marketing data:

  • Best-performing sources
  • Conversion rate by channel
  • Engagement trends

Universal analysis (always included):

  • Correlations between variables
  • Trends over time (if there are dates)
  • Distribution of key values
  • Comparison by category/segment

Step 4: Insights and recommendations

  • Top 5 most important insights
  • 3 actionable recommendations based on the data
  • Points that need further investigation
  • Limitations of the analysis (missing data, potential bias)

Step 5: Export

  • Save the report to [path, e.g., ~/Data/reports/analysis-{name}.md]
  • Generate a cleaned CSV (if there are changes) in [path]-clean.csv
  • Create a summary file of key figures (JSON) for programmatic use

Ask me for clarification if the file's contents are unclear.

Personalize this prompt with Léa · AI assistant

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why this prompt works

The prompt is adaptive: instead of asking for data type, Cowork detects it and applies the most relevant analysis. The cleanup step with validation prevents analyzing corrupted data. Multiple exports serve different needs (presentation, analysis, code).

Use Cases

E-commerce sales data analysisClient dataset exploration for segmentationMarketing data audit for optimization

Variants

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Pour accélérer l'exploitation, demandez explicitement la génération de code Python (pandas, plotly) en sortie, pas seulement du texte : vous pourrez recréer le dashboard dynamiquement au lieu de le lire.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

🤖Claude CoworkIntermediateClaude

Organize and rank job applications

This Cowork prompt analyzes every CV and cover letter in your applications folder. Claude evaluates each candidate on 5 weighted criteria, generates an overall score, summary, and ranking. The shortlist is argued with points to explore in interviews. Email templates (acceptance and rejection) are included for a complete recruitment process.

622
🤖Claude CoworkIntermediateClaude

Clean up and structure my Google Drive

This prompt uses Cowork to audit and restructure your cloud storage from a file export. Claude analyzes the existing folder tree, identifies issues (duplicates, orphan files, deep folders) and proposes a new structure tailored to your work. It also generates naming conventions and a detailed migration plan.

1231
🤖Claude CoworkIntermediateClaude

Automate invoice generation

This Cowork prompt automates invoice generation from your service data (CSV, spreadsheet). Claude applies legal mentions, calculates VAT and totals, numbers sequentially, and saves each invoice in your file structure. The global summary and payment tracking update complete the billing process.

802

Sort and organize my Downloads folder

This Cowork prompt turns your messy Downloads folder into a clean, date-organized file structure. Claude directly accesses your files, identifies types, spots duplicates, and proposes a smart sorting plan. Each file is renamed with its modification date for chronological ordering. The process is safe: no deletion without your explicit approval. Perfect for a one-time cleanup or monthly routine.

1510