30 Claude Prompts That Build Charts
Describe your data and Claude returns a working chart as a self-contained HTML artifact you can preview instantly and copy-paste. Prompts for bar, line, and pie charts, dashboards, comparisons, KPI cards, funnels, heatmaps, and charts from pasted CSV. Not "describe the trend."
In short: This page contains 30 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 15 prompts are free instantly โ no signup needed. Hand-curated and tested by the AI Academy team.
Core Chart Types
5 promptsVertical Bar Chart
1/30You are a data-visualization engineer who builds clean, accurate charts. <context> I need a vertical bar chart built as one self-contained HTML file using Chart.js from a CDN, so I can preview it instantly as an artifact. </context> <inputs> - What the chart compares: [E.G. REVENUE BY REGION] - Categories (x-axis labels): [LIST OF LABELS] - Values per category: [LIST OF NUMBERS] - Value unit and prefix: [E.G. USD $, %, UNITS] - Title and one-line takeaway: [CHART TITLE AND KEY POINT] - Brand or accent color: [HEX OR DESCRIBE] </inputs> <task> Build a single vertical bar chart with a clear title, labeled axes, formatted value tooltips, data labels on top of each bar, gridlines that aid reading, and a short caption under the chart stating the takeaway. Sort bars in a sensible order and highlight the top bar in the accent color. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only, no build step. - Axes start at zero, no truncation that distorts comparison; numbers formatted with the unit. - Colorblind-safe palette, readable contrast, responsive width. </constraints> <format> Return the full HTML as an artifact, then note one alternative chart type and when it would read better. </format>
Builds an accurate, labeled vertical bar chart with tooltips and a takeaway caption as a previewable artifact.
Pro tip: Tell Claude which single bar matters most and it will highlight that one in the accent color so the eye lands on it first.
Multi-Series Line Chart
2/30You are a data-visualization engineer who builds time-series charts. <context> I need a multi-series line chart built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What it tracks over time: [E.G. SIGNUPS VS CHURN BY MONTH] - Time labels (x-axis): [E.G. JAN-DEC] - Series and their values: [SERIES NAME: VALUES; REPEAT FOR EACH] - Value unit: [E.G. USERS, $, %] - Title and the trend I want readers to see: [TITLE AND TAKEAWAY] </inputs> <task> Build a line chart with one line per series, a legend, smooth-but-honest curves, point markers, formatted tooltips that show all series at a hovered date, a clearly labeled time axis, and a caption summarizing the trend. Use distinct line styles or colors per series and annotate the most important inflection point. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Lines distinguishable without relying on color alone; y-axis starts at zero unless a baseline is justified. - Responsive, accessible legend and tooltips. </constraints> <format> Return the full HTML as an artifact, then explain whether a zero baseline or a focused range tells the story more honestly here. </format>
Generates a multi-series time-series line chart with legend, tooltips, and an annotated inflection point as a previewable artifact.
Pro tip: Name the one date where the story changes and ask Claude to drop an annotation marker on it so the inflection is impossible to miss.
Pie / Donut Share Chart
3/30You are a data-visualization engineer who builds part-to-whole charts. <context> I need a donut chart showing how a total breaks down by category, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What the whole represents: [E.G. TRAFFIC BY SOURCE] - Segments and values: [LABEL: VALUE; REPEAT] - Whether values are counts or percentages: [COUNTS / PERCENTAGES] - Title and the one segment to emphasize: [TITLE AND FOCUS SEGMENT] </inputs> <task> Build a donut chart with a center label showing the total, segment labels with their percentage and value, a legend, tooltips, and a caption naming the dominant segment. Pull the focus segment slightly out or color it boldly, and merge tiny slices under a threshold into an "Other" segment if there are more than six. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Percentages must sum to 100; show both value and percent in labels. - Limit to a readable number of slices; colorblind-safe palette and legible labels. </constraints> <format> Return the full HTML as an artifact, then say whether a bar chart would communicate these shares more precisely and why. </format>
Builds a donut share chart with a center total, percentage labels, and an emphasized segment as a previewable artifact.
Pro tip: If you have more than six categories, tell Claude the cutoff threshold so the long tail collapses into one clean 'Other' slice.
Horizontal Bar Ranking Chart
4/30You are a data-visualization engineer who builds ranking charts. <context> I need a horizontal bar chart that ranks items from highest to lowest, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What is being ranked: [E.G. TOP PRODUCTS BY SALES] - Items and values: [ITEM: VALUE; REPEAT] - Value unit: [E.G. $, UNITS, SCORE] - Title and how many to show: [TITLE AND TOP N] </inputs> <task> Build a horizontal bar chart sorted descending by value, with item labels on the left, value labels at the end of each bar, a subtle gridline scale, and a caption noting the leader and the gap to second place. Use a single accent color with the top item emphasized, and keep generous spacing so long labels stay readable. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Bars sorted descending; axis starts at zero; values formatted with the unit. - Long category labels must not be clipped; responsive layout. </constraints> <format> Return the full HTML as an artifact, then suggest a sensible top-N cutoff if the full list is long. </format>
Generates a sorted horizontal bar ranking chart with end-of-bar value labels and a leader caption as a previewable artifact.
Pro tip: Horizontal bars beat vertical ones when your category names are long; tell Claude to keep them left-aligned and unclipped.
Stacked Bar Composition Chart
5/30You are a data-visualization engineer who builds composition-over-time charts. <context> I need a stacked bar chart showing how a total splits into parts across categories, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What the totals represent: [E.G. REVENUE BY QUARTER, SPLIT BY PRODUCT LINE] - Categories (x-axis): [E.G. Q1-Q4] - Segments and their values per category: [SEGMENT: VALUES PER CATEGORY; REPEAT] - Value unit: [E.G. $, USERS] - Whether to show absolute or 100% stacked: [ABSOLUTE / PERCENT] - Title and takeaway: [TITLE AND KEY POINT] </inputs> <task> Build a stacked bar chart with a legend for each segment, totals labeled above each bar (for absolute mode), tooltips showing each segment plus the running total, and a caption describing how the mix shifts across categories. If percent mode is chosen, normalize each bar to 100%. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Consistent segment order and colors across bars; legend clearly labeled. - Colorblind-safe palette; responsive and accessible tooltips. </constraints> <format> Return the full HTML as an artifact, then advise whether absolute or 100%-stacked better shows the shift in mix here. </format>
Builds a stacked or 100%-stacked bar chart showing composition shifts with totals and tooltips as a previewable artifact.
Pro tip: If you care more about the changing mix than the raw totals, ask for 100%-stacked mode so every bar is the same height.
XML tags are just the start. Learn the full Claude workflow.
A growing library of 300+ hands-on AI tutorials covering Claude, ChatGPT, and 50+ tools. New tutorials added every week.
Dashboards & KPI Cards
5 promptsMulti-Chart KPI Dashboard
6/30You are a dashboard designer and front-end engineer. <context> I need a single-screen dashboard combining several charts and metric cards, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What the dashboard monitors: [E.G. SAAS GROWTH] - Top metrics for KPI cards: [METRIC: VALUE: CHANGE; REPEAT 3-4] - Charts I want and their data: [E.G. MRR LINE, SIGNUPS BAR, PLAN MIX DONUT, WITH VALUES] - Time range: [E.G. LAST 6 MONTHS] - Brand accent color: [HEX OR DESCRIBE] </inputs> <task> Build a responsive dashboard: a header with title and time range, a row of KPI cards (each showing the metric, its value, and an up/down change with color), and a grid of three to four charts below. Give each chart a title and a one-line read-out. Keep a consistent design system across cards and charts. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Responsive grid that reflows on mobile to a single column; consistent spacing and type scale. - Up changes green, down red, with an arrow and accessible text label, not color alone. </constraints> <format> Return the full HTML as an artifact, then list the design tokens (colors, spacing, type) so I can add more cards. </format>
Builds a single-screen dashboard with KPI cards and a grid of charts on a shared design system as a previewable artifact.
Pro tip: Give Claude real change percentages for each KPI card so the green/red arrows reflect your actual numbers, not placeholders.
Single KPI Scorecard With Sparkline
7/30You are a dashboard designer who builds focused metric cards. <context> I need a single, polished KPI scorecard with a trend sparkline, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - The metric: [E.G. MONTHLY ACTIVE USERS] - Current value: [NUMBER] - Comparison period and prior value: [E.G. VS LAST MONTH, PRIOR NUMBER] - Trend data points: [LIST OF RECENT VALUES] - Goal or target (optional): [TARGET NUMBER] - Accent color: [HEX OR DESCRIBE] </inputs> <task> Build one large scorecard showing the metric name, the big current value, the percent change versus the prior period with an up/down arrow and color, a compact sparkline of the trend, and a progress-to-goal indicator if a target is given. Keep it clean and instantly scannable. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Percent change computed from the prior value; arrow plus text label, not color alone. - Sparkline has no axes or clutter; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then explain how to drop several of these cards into a grid to form a dashboard row. </format>
Generates a clean single-metric scorecard with percent change and a sparkline as a previewable artifact.
Pro tip: Include a target value and Claude adds a progress-to-goal bar, turning a passive metric into a clear pacing signal.
Executive Summary Dashboard
8/30You are a BI designer who builds executive-level summary dashboards. <context> I need a one-page executive dashboard that mixes headline numbers with supporting charts, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - Business and reporting period: [E.G. Q3 2026 COMPANY REVIEW] - Headline KPIs: [METRIC: VALUE: CHANGE; REPEAT 4-5] - Supporting charts and data: [E.G. REVENUE TREND LINE, REGION BAR, FUNNEL OR MIX, WITH NUMBERS] - One key insight to surface: [THE STORY] - Brand colors: [DESCRIBE] </inputs> <task> Build an executive dashboard: a title bar with period, a prominent insight banner stating the one key story, a KPI strip, and a clean two-or-three chart layout that backs up the insight. Every chart gets a plain-language read-out. Prioritize clarity and a calm, board-ready aesthetic. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Restrained palette, generous whitespace, print-friendly layout. - Insight banner stated in one sentence; accessible contrast and labels. </constraints> <format> Return the full HTML as an artifact, then suggest what to cut if leadership wants it down to a single screen. </format>
Builds a board-ready executive dashboard with an insight banner, KPI strip, and supporting charts as a previewable artifact.
Pro tip: Lead by telling Claude the single insight executives must remember; it will frame the banner and every chart to reinforce that one point.
Marketing Channel Performance Dashboard
9/30You are a marketing analytics engineer who builds channel dashboards. <context> I need a marketing performance dashboard comparing channels, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - Channels to compare: [E.G. SEO, PAID, EMAIL, SOCIAL] - Metrics per channel: [SPEND, LEADS, CAC, ROAS; WITH NUMBERS] - Time range: [E.G. LAST 30 DAYS] - KPI summary numbers: [TOTAL SPEND, TOTAL LEADS, BLENDED CAC] - Accent color: [HEX OR DESCRIBE] </inputs> <task> Build a dashboard with a KPI summary row, a spend-vs-leads grouped bar chart per channel, a CAC comparison bar chart, a channel-mix donut, and a small table of ROAS by channel. Add a read-out under each chart naming the best and worst channel. Keep the layout responsive and tidy. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Consistent channel colors across every chart so the eye can track a channel. - Currency and ratio formatting correct; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then explain which single chart you would lead with in a weekly standup. </format>
Builds a marketing channel dashboard with spend, leads, CAC, and ROAS views sharing one color scheme as a previewable artifact.
Pro tip: Ask Claude to lock one color per channel across all charts so you can follow 'Paid' or 'SEO' through the whole dashboard at a glance.
Gauge & Progress KPI Panel
10/30You are a dashboard designer who builds goal-tracking panels. <context> I need a panel of gauge and progress indicators showing how close each metric is to its target, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - Goals to track: [GOAL NAME: CURRENT: TARGET; REPEAT 3-5] - Reporting period: [E.G. THIS QUARTER] - Thresholds for good/warning/behind: [E.G. >=90% GREEN, 70-89% AMBER, <70% RED] - Accent colors for the bands: [HEX OR DESCRIBE] </inputs> <task> Build a panel of gauge-style or radial-progress indicators, one per goal, each showing the goal name, current versus target, the percent attained, and a color band reflecting the threshold rules. Add a header with the period and an overall "goals on track" count. Keep it scannable and color-coded. </task> <constraints> - One self-contained HTML file; Chart.js (doughnut/gauge style) from a CDN only. - Percent-to-target computed correctly; threshold colors applied per the rules. - Status conveyed with a label too, not color alone; responsive grid. </constraints> <format> Return the full HTML as an artifact, then note how to add an alert badge when any goal slips below the warning threshold. </format>
Builds a panel of gauge and progress indicators with threshold colors and goal tracking as a previewable artifact.
Pro tip: Define your good/warning/behind thresholds explicitly so Claude colors each gauge by rule instead of guessing what counts as on-track.
Comparison & Distribution Charts
5 promptsGrouped Bar Comparison Chart
11/30You are a data-visualization engineer who builds side-by-side comparison charts. <context> I need a grouped bar chart comparing two or more series across categories, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What is being compared: [E.G. THIS YEAR VS LAST YEAR BY MONTH] - Categories (x-axis): [LIST OF LABELS] - Series and their values: [SERIES NAME: VALUES; REPEAT] - Value unit: [E.G. $, %, UNITS] - Title and the comparison takeaway: [TITLE AND KEY POINT] </inputs> <task> Build a grouped bar chart with bars clustered per category, a legend per series, formatted tooltips, value labels where space allows, and a caption stating where the gap between series is widest. Use distinct colors per series and keep group spacing clean so clusters read as units. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Axis starts at zero; consistent series colors; legend clearly labeled. - Colorblind-safe palette, responsive, accessible tooltips. </constraints> <format> Return the full HTML as an artifact, then say whether a line chart would show the period-over-period change more clearly. </format>
Builds a grouped bar chart comparing multiple series per category with a widest-gap caption as a previewable artifact.
Pro tip: Cap it at two or three series per group; more than that turns clusters into noise, and Claude will warn you if you push past it.
Before / After Comparison Chart
12/30You are a data-visualization engineer who builds change-impact charts. <context> I need a before-and-after comparison chart that makes an improvement obvious, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What changed and why: [E.G. CONVERSION RATE BEFORE AND AFTER A REDESIGN] - Metrics to compare: [METRIC: BEFORE VALUE: AFTER VALUE; REPEAT] - Value unit: [E.G. %, $, SECONDS] - Whether higher is better per metric: [HIGHER BETTER / LOWER BETTER] - Title and the headline result: [TITLE AND OUTCOME] </inputs> <task> Build a paired bar chart with a before and an after bar per metric, the percent change labeled between them, color-coded by whether the change is an improvement given the direction, a legend, and a caption summarizing the overall result. Make the win or loss instantly readable. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Improvement vs regression colored consistently using the higher/lower-is-better flag. - Percent change computed correctly; axis honest; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then explain how to add a significance note if these results come from a test. </format>
Generates a before/after paired bar chart with percent-change labels colored by improvement as a previewable artifact.
Pro tip: Flag which metrics are 'lower is better' (like load time) so Claude colors a drop as a win instead of mistakenly flagging it red.
Histogram / Distribution Chart
13/30You are a data-visualization engineer who builds distribution charts. <context> I need a histogram showing how values are distributed across ranges, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What the values measure: [E.G. ORDER VALUES, RESPONSE TIMES, AGES] - The raw values or pre-binned counts: [PASTE NUMBERS OR BIN: COUNT PAIRS] - Preferred bin width or number of bins: [E.G. 10 BINS] - Value unit: [E.G. $, MS, YEARS] - Title and what shape I expect: [TITLE AND HYPOTHESIS] </inputs> <task> Build a histogram with evenly sized bins, a count axis, bin-range x-axis labels, tooltips showing each bin's range and count, and a caption describing the distribution shape (skew, peak, spread) and where the median roughly falls. If raw values are given, bin them yourself. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Bins are equal width and contiguous; counts accurate; no gaps between bars. - Axis labels show bin ranges clearly; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then note whether a different bin width would reveal or hide an important pattern. </format>
Builds a binned histogram with range tooltips and a distribution-shape caption from raw or pre-binned data as a previewable artifact.
Pro tip: Paste raw values and let Claude bin them; then ask it to try a coarser and a finer bin count so you can see which reveals the real shape.
Radar / Spider Comparison Chart
14/30You are a data-visualization engineer who builds multi-attribute comparison charts. <context> I need a radar chart comparing options across several attributes, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What is being compared: [E.G. THREE PRODUCTS, TWO CANDIDATES] - Attributes (axes): [LIST OF 4-8 ATTRIBUTES] - Scores per option per attribute: [OPTION: SCORES; REPEAT] - Score scale: [E.G. 1-10] - Title and what to conclude: [TITLE AND TAKEAWAY] </inputs> <task> Build a radar chart with one shape per option, a labeled axis per attribute, a legend, semi-transparent fills so overlap is visible, tooltips per point, and a caption naming each option's strongest and weakest attribute. Keep axis order consistent and the scale fixed across all options. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Same min and max scale on every axis; semi-transparent fills; distinct colors. - Limit to a readable number of options; colorblind-safe and accessible. </constraints> <format> Return the full HTML as an artifact, then say when a grouped bar chart would compare these attributes more precisely than a radar. </format>
Builds a radar chart comparing options across attributes with strongest/weakest callouts as a previewable artifact.
Pro tip: Keep it to three options max; radar charts get unreadable fast, and Claude will flag the strongest and weakest axis for each.
Scatter / Bubble Correlation Chart
15/30You are a data-visualization engineer who builds correlation charts. <context> I need a scatter or bubble chart showing the relationship between two (or three) variables, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - The relationship to show: [E.G. AD SPEND VS REVENUE] - X variable, label, and unit: [DESCRIBE] - Y variable, label, and unit: [DESCRIBE] - Optional size variable for bubbles: [DESCRIBE OR NONE] - Data points: [X, Y (, SIZE), (, LABEL); REPEAT] - Title and the pattern I expect: [TITLE AND HYPOTHESIS] </inputs> <task> Build a scatter chart (bubble if a size variable is given) with labeled axes, point tooltips showing the label and values, optional point labels for notable outliers, and a caption describing the apparent correlation and any outliers. If it helps, add a simple trend line and state the direction and rough strength of the relationship. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Axes labeled with units; bubble area (not radius) scaled to the size value if used. - Note correlation is not causation in the caption; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then explain what the trend line implies and what could confound it. </format>
Builds a scatter or bubble chart with optional trend line and outlier callouts as a previewable artifact.
Pro tip: Add a third 'size' value per point and ask for a bubble chart; it lets you encode three variables in one view without a second chart.
Funnels, Flows & Timelines
5 promptsConversion Funnel Chart
16/30You are a growth analytics engineer who builds funnel visualizations. <context> I need a conversion funnel chart showing drop-off across stages, built as one self-contained HTML file using HTML, CSS, and minimal JS (or Chart.js), previewable instantly as an artifact. </context> <inputs> - The funnel: [E.G. VISIT to SIGNUP to TRIAL to PAID] - Stages and counts: [STAGE: COUNT; IN ORDER] - What a conversion means: [E.G. PAID CUSTOMER] - Title and the biggest concern: [TITLE AND THE STEP YOU WORRY ABOUT] </inputs> <task> Build a funnel chart with each stage as a proportionally sized band, showing the stage name, its count, the step-to-step conversion rate, and the cumulative conversion from the top. Highlight the stage with the largest drop-off in a warning color and add a caption naming the biggest leak and its rate. </task> <constraints> - One self-contained HTML file; CDN-only dependencies if any. - Band widths proportional to counts; step and overall conversion rates computed correctly. - Biggest-drop stage clearly flagged with a label, not color alone; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then suggest one experiment to fix the worst drop-off stage. </format>
Builds a proportional conversion funnel with step and cumulative rates and a flagged worst drop-off as a previewable artifact.
Pro tip: Give Claude the stage you most suspect is leaking; it will compute the real drop-off and confirm or correct your gut feeling.
Sankey-Style Flow Chart
17/30You are a data-visualization engineer who builds flow diagrams. <context> I need a Sankey-style flow chart showing how a quantity splits and moves between stages, built as one self-contained HTML file using SVG (and minimal JS), previewable instantly as an artifact. </context> <inputs> - What flows: [E.G. WEBSITE TRAFFIC THROUGH PAGES, BUDGET ACROSS DEPARTMENTS] - Nodes (stages): [LIST OF NODE NAMES BY LEVEL] - Flows between nodes and their values: [FROM to TO: VALUE; REPEAT] - Value unit: [E.G. USERS, $] - Title and the path I care about: [TITLE AND KEY FLOW] </inputs> <task> Build a Sankey-style diagram with nodes drawn as labeled bars and flows as proportional ribbons whose width encodes value, with hover or labels showing each flow's value, and the key path emphasized in the accent color. Add a caption naming the largest flow and where the most volume is lost or diverted. </task> <constraints> - One self-contained HTML file; SVG built directly, CDN deps only if needed. - Ribbon widths proportional to values; flows into a node sum to its inflow. - Labels legible, key path emphasized; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then explain how to read the diagram and where the biggest leakage occurs. </format>
Builds a Sankey-style flow diagram with proportional ribbons and an emphasized key path as a previewable artifact.
Pro tip: Sankey charts shine when one quantity splits many ways; tell Claude the single path you care about and it will make that ribbon pop.
Project / Roadmap Timeline Chart
18/30You are a project visualization designer who builds timeline charts. <context> I need a horizontal timeline chart of milestones or phases, built as one self-contained HTML file using SVG or CSS (and minimal JS), previewable instantly as an artifact. </context> <inputs> - The timeline subject: [E.G. PRODUCT ROADMAP, EVENT PLAN] - Date range: [START AND END] - Milestones or phases with dates: [NAME: START: END (OR DATE): STATUS; REPEAT] - Status options: [E.G. DONE, IN PROGRESS, PLANNED] - Title and accent colors: [TITLE AND COLOR PER STATUS] </inputs> <task> Build a horizontal timeline with a dated axis, each milestone or phase as a positioned marker or bar colored by status, a today marker, a legend for statuses, and tooltips or labels with names and dates. Group or label by track if there are parallel workstreams. Add a caption noting what is overdue or next up. </task> <constraints> - One self-contained HTML file; CDN deps only if needed. - Positions accurate to the date scale; status colors consistent with a legend. - Today marker present; responsive and accessible; readable labels. </constraints> <format> Return the full HTML as an artifact, then explain how to switch this between a roadmap and a Gantt-style phase view. </format>
Builds a dated timeline of milestones colored by status with a today marker as a previewable artifact.
Pro tip: Add a status per milestone and a 'today' implied by date; Claude will color overdue items and call out what is next in the caption.
Gantt-Style Schedule Chart
19/30You are a project planning designer who builds Gantt schedule charts. <context> I need a Gantt-style chart showing tasks, durations, and dependencies, built as one self-contained HTML file using SVG or CSS (and minimal JS), previewable instantly as an artifact. </context> <inputs> - Project name and date range: [NAME, START, END] - Tasks with start, end, and owner: [TASK: START: END: OWNER; REPEAT] - Dependencies (optional): [TASK DEPENDS ON TASK; REPEAT] - Percent complete per task (optional): [TASK: PERCENT] - Title and accent color: [TITLE AND COLOR] </inputs> <task> Build a Gantt chart with a dated header, one row per task, horizontal bars positioned and sized by their dates, a fill showing percent complete, owner labels, a today line, and dependency arrows if provided. Add a caption flagging the critical path or any task at risk of slipping. </task> <constraints> - One self-contained HTML file; CDN deps only if needed. - Bar positions and widths accurate to the date scale; percent-complete fill correct. - Today line present; dependency arrows readable; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then explain how to mark the critical path and add a weekend or holiday shading band. </format>
Builds a Gantt schedule chart with duration bars, progress fills, and dependencies as a previewable artifact.
Pro tip: List dependencies as 'Task B depends on Task A' and Claude draws the arrows, turning a flat schedule into a real critical-path view.
Cumulative Area / Growth Chart
20/30You are a data-visualization engineer who builds cumulative growth charts. <context> I need a stacked or cumulative area chart showing growth over time, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What is growing: [E.G. CUMULATIVE USERS, REVENUE RUN-RATE] - Time labels (x-axis): [LIST] - Series and values (cumulative or to be cumulated): [SERIES: VALUES; STATE WHICH] - Value unit: [E.G. USERS, $] - Title and the milestone to mark: [TITLE AND KEY MOMENT] </inputs> <task> Build a filled area chart (stacked if multiple series) showing the cumulative total over time, with a legend, soft gradient fills, tooltips showing each series plus the running total at a date, an annotation on the milestone date, and a caption stating the total reached and the growth rate. Cumulate the values yourself if raw periodic numbers are given. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Cumulative math correct; stacking order consistent; y-axis starts at zero. - Colorblind-safe fills with enough contrast; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then explain when a cumulative view misleads versus a per-period bar chart. </format>
Builds a cumulative or stacked area growth chart with a milestone annotation and running totals as a previewable artifact.
Pro tip: Tell Claude whether your numbers are already cumulative or per-period; getting that wrong doubles or flattens the whole curve.
Charts From Your Data
5 promptsChart From Pasted CSV
21/30You are a data analyst and visualization engineer. <context> I will paste raw CSV and I want you to pick the right chart and build it as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - My CSV data: [PASTE CSV WITH HEADER ROW] - What I want to understand: [THE QUESTION] - Any column to focus on or ignore: [DESCRIBE OR NONE] - Title and audience: [TITLE AND WHO WILL READ IT] </inputs> <task> Parse the CSV, infer column types, choose the chart type that best answers my question, and build it with a clear title, labeled axes, formatted tooltips, and a caption stating the single most important finding. State which columns you mapped to which axis and why you chose this chart type. Flag any data quality issues you noticed. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Do not invent data; if a value is missing or malformed, exclude it and note it. - Honest axes and accurate aggregation; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then explain your chart-type choice, the column mapping, and any data caveats. </format>
Parses pasted CSV, picks the best chart type, and builds it with a caption and column-mapping rationale as a previewable artifact.
Pro tip: State the exact question you want answered; the same CSV can become a bar, line, or scatter, and your question decides which Claude picks.
Clean & Chart Messy Data
22/30You are a data-cleaning and visualization specialist. <context> My data is messy (inconsistent formats, blanks, duplicates). I need you to clean it and chart it as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - The messy data: [PASTE ROWS OR CSV] - Known problems: [E.G. MIXED DATE FORMATS, CURRENCY SYMBOLS, BLANKS] - What I want to see: [THE CHART GOAL] - How to handle missing values: [DROP / TREAT AS ZERO / INTERPOLATE] - Title: [CHART TITLE] </inputs> <task> Normalize formats, strip symbols, parse dates, dedupe rows, and handle missing values per my instruction, then build the requested chart with a clear title, labeled axes, tooltips, and a caption with the key finding. List exactly what you cleaned and any rows you dropped, so the result is auditable. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Show the cleaning decisions transparently; never silently fabricate values. - Accurate parsing and aggregation; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then list the cleaning steps applied and the rows excluded with reasons. </format>
Cleans messy pasted data, charts it, and reports every cleaning decision transparently as a previewable artifact.
Pro tip: Spell out how to treat blanks (drop vs zero vs interpolate); that one choice can flip a trend, so don't leave it to Claude's guess.
Pivot & Aggregate Into a Chart
23/30You are a data analyst who pivots and aggregates raw records into charts. <context> I have row-level records and need them grouped and aggregated into a chart, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - The raw records: [PASTE ROWS OR CSV] - Group by: [COLUMN(S) TO GROUP ON] - Aggregate: [SUM / AVG / COUNT / MAX OF WHICH COLUMN] - Optional secondary split: [SECOND COLUMN OR NONE] - Chart type preference: [BAR / LINE / STACKED / AUTO] - Title and takeaway: [TITLE AND WHAT TO HIGHLIGHT] </inputs> <task> Group the records by the given column(s), apply the requested aggregation, and build the chart, sorting and labeling sensibly. Show the resulting aggregated table briefly in a caption or note so the math is checkable, and add a one-line key finding. If a secondary split is given, render it as grouped or stacked series. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Aggregation math must be correct and reproducible; do not drop groups silently. - Honest axes; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then show the aggregated values you computed so I can verify them. </format>
Groups and aggregates raw records, then charts the result with the computed values shown for verification as a previewable artifact.
Pro tip: Ask Claude to print the aggregated table alongside the chart; it's the fastest way to catch a wrong sum or a miscounted group.
Annotated Insight Chart
24/30You are a data storyteller who builds annotated charts that make a point. <context> I have data and a conclusion I want to argue. Build an annotated chart as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - The data: [PASTE VALUES OR CSV] - The point I want to make: [THE ARGUMENT] - Key events to annotate: [DATE OR POINT: WHAT HAPPENED; REPEAT] - Chart type: [LINE / BAR / AUTO] - Title and audience: [TITLE AND WHO] </inputs> <task> Build the chart and layer on annotations: vertical event markers with short labels, a highlighted region or peak, a target or benchmark line if relevant, and a bold takeaway caption that states the argument the data supports. Keep annotations legible and never let them obscure the data. Make the conclusion unmissable while staying honest to the numbers. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only (annotation via plugin or drawn layer). - Annotations accurate to the data; no cherry-picked axis that distorts the story. - Legible labels, clear hierarchy; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then explain which annotation does the most work and whether the data truly supports the claim. </format>
Builds an annotated chart with event markers and a benchmark line that argues a clear point honestly as a previewable artifact.
Pro tip: Hand Claude the dated events behind your data spikes; annotating the 'why' next to the 'what' is what turns a chart into a story.
Redesign an Ugly Chart
25/30You are a data-visualization designer who fixes confusing charts. <context> I have a chart that is hard to read. Rebuild it cleanly as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - Describe or paste the current chart and its data: [DESCRIBE OR PASTE VALUES] - What is wrong with it: [E.G. TOO MANY COLORS, CLUTTERED, MISLEADING AXIS] - The one message it should convey: [THE TAKEAWAY] - Brand or accent color: [HEX OR DESCRIBE] </inputs> <task> Rebuild the chart following clear data-viz principles: pick the right chart type for the message, remove chartjunk, fix the axis, apply a restrained palette, add direct labels over a busy legend where possible, and surface the takeaway in a caption. List the specific problems you fixed and why each change improves readability. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only. - Honest axis, minimal colors, high data-ink ratio; accessible and responsive. - Preserve the underlying numbers exactly; improve only the presentation. </constraints> <format> Return the full HTML as an artifact, then give a before-and-after list of the readability problems you fixed. </format>
Rebuilds a confusing chart with the right type, a clean palette, and direct labels, listing every fix as a previewable artifact.
Pro tip: Tell Claude the single message the chart must convey; everything that doesn't serve that message becomes the chartjunk it strips out.
Most people use 10% of Claude. Tutorials unlock the rest.
AI Academy: 300+ hands-on tutorials on Claude, ChatGPT, Midjourney, and 50+ AI tools. New tutorials added every week.
Heatmaps & Advanced Visuals
5 promptsCalendar Heatmap
26/30You are a data-visualization engineer who builds calendar heatmaps. <context> I need a GitHub-style calendar heatmap showing a daily value across weeks, built as one self-contained HTML file using SVG or CSS grid (and minimal JS), previewable instantly as an artifact. </context> <inputs> - What the daily value measures: [E.G. SALES, ACTIVE USERS, WORKOUTS] - Date range: [START AND END] - Daily values: [DATE: VALUE; REPEAT, OR DESCRIBE PATTERN] - Color scale low-to-high: [DESCRIBE OR HEX RANGE] - Title and what to spot: [TITLE AND WHAT MATTERS] </inputs> <task> Build a calendar heatmap with weeks as columns and weekdays as rows, each day colored by its value on a sequential scale, a legend showing the scale, day-of-week and month labels, and tooltips with the date and value. Add a caption noting the busiest period and any weekly pattern (e.g. weekend dips). Fill missing days as zero or blank per a sensible default. </task> <constraints> - One self-contained HTML file; CDN deps only if needed. - Sequential, colorblind-friendly scale; legend present; accurate date placement. - Tooltips accessible; responsive layout. </constraints> <format> Return the full HTML as an artifact, then explain the color-scale choice and how to switch it to a diverging scale. </format>
Builds a GitHub-style calendar heatmap with a sequential scale, legend, and pattern caption as a previewable artifact.
Pro tip: Use a sequential (light-to-dark) scale for counts and save diverging scales for above/below-average data; ask Claude which fits your metric.
Matrix / Grid Heatmap
27/30You are a data-visualization engineer who builds matrix heatmaps. <context> I need a matrix heatmap showing values across two categorical dimensions, built as one self-contained HTML file using SVG or CSS grid (and minimal JS), previewable instantly as an artifact. </context> <inputs> - What the cells measure: [E.G. SALES BY REGION AND MONTH] - Row categories: [LIST] - Column categories: [LIST] - Cell values: [ROW x COLUMN: VALUE GRID, OR PASTE TABLE] - Color scale: [SEQUENTIAL / DIVERGING, WITH MIDPOINT IF DIVERGING] - Title and what to find: [TITLE AND GOAL] </inputs> <task> Build a heatmap grid with labeled rows and columns, each cell colored by value on the chosen scale, the value printed in the cell with readable contrast, a color legend, and tooltips. Add a caption pointing to the hottest and coldest cells and any row or column that stands out. Use a diverging scale around the midpoint if specified. </task> <constraints> - One self-contained HTML file; CDN deps only if needed. - Text contrast adapts to cell darkness; scale and legend accurate. - Colorblind-safe palette; responsive and accessible. </constraints> <format> Return the full HTML as an artifact, then explain when a diverging scale beats a sequential one for this data. </format>
Builds a labeled matrix heatmap with in-cell values, a legend, and hot/cold callouts as a previewable artifact.
Pro tip: For data that has a meaningful midpoint (like growth vs decline), ask for a diverging scale so positives and negatives read at a glance.
Geographic Choropleth-Style Map
28/30You are a data-visualization engineer who builds simple data maps. <context> I need a choropleth-style map shading regions by value, built as one self-contained HTML file using inline SVG region paths (and minimal JS), previewable instantly as an artifact. </context> <inputs> - The map scope: [E.G. US STATES, EUROPE COUNTRIES, OR A LIST OF REGIONS] - Region values: [REGION: VALUE; REPEAT] - What the value measures: [E.G. REVENUE, USERS] - Color scale low-to-high: [DESCRIBE OR HEX RANGE] - Title and what to highlight: [TITLE AND FOCUS] </inputs> <task> Build a map where each region is an SVG shape shaded by its value on a sequential scale, with a color legend, region tooltips showing name and value, and labels on the top regions. If full geographic paths are impractical, use a clean tile-grid map (one labeled square per region) instead and say so. Add a caption naming the highest and lowest regions. </task> <constraints> - One self-contained HTML file; CDN deps only if needed. - Sequential, colorblind-friendly scale; legend present; accurate value mapping. - Tooltips and labels accessible; responsive. </constraints> <format> Return the full HTML as an artifact, then explain whether you used real paths or a tile-grid map and the tradeoff. </format>
Builds a choropleth-style or tile-grid data map shading regions by value with a legend and callouts as a previewable artifact.
Pro tip: If you don't have geographic paths handy, ask Claude for a tile-grid map; it keeps every region equally visible and is far easier to read.
Waterfall / Bridge Chart
29/30You are a financial data-visualization engineer who builds waterfall charts. <context> I need a waterfall (bridge) chart showing how a starting value reaches an ending value through increments and decrements, built as one self-contained HTML file using Chart.js from a CDN, previewable instantly as an artifact. </context> <inputs> - What it explains: [E.G. HOW REVENUE BECOMES NET PROFIT, OPENING TO CLOSING HEADCOUNT] - Starting value: [LABEL AND NUMBER] - Steps in order with signed values: [STEP: +/- VALUE; REPEAT] - Ending label: [E.G. NET PROFIT] - Value unit and title: [UNIT AND TITLE] </inputs> <task> Build a waterfall chart with a starting total bar, floating step bars colored green for increases and red for decreases, connector lines between steps, a final total bar, value labels on each step, and a caption naming the biggest positive and negative driver. The math must reconcile from start to end exactly. </task> <constraints> - One self-contained HTML file; Chart.js from a CDN only (floating-bar technique). - Steps reconcile precisely to the ending total; increases and decreases colored consistently. - Axis honest; accessible labels and connectors; responsive. </constraints> <format> Return the full HTML as an artifact, then explain the biggest swing factor and how to add subtotals to the bridge. </format>
Builds a waterfall bridge chart that reconciles a start to an end value with color-coded drivers as a previewable artifact.
Pro tip: List each step with a clear plus or minus sign; Claude colors gains and losses and verifies the bridge ties out to your ending total.
Treemap Hierarchy Chart
30/30You are a data-visualization engineer who builds treemap charts. <context> I need a treemap showing how a total breaks down across nested categories by area, built as one self-contained HTML file using SVG (and minimal JS or a CDN plugin), previewable instantly as an artifact. </context> <inputs> - What the total represents: [E.G. BUDGET BY DEPARTMENT AND TEAM] - Categories and values (with optional parent grouping): [PARENT > CHILD: VALUE; REPEAT] - Value unit: [E.G. $, USERS] - Color meaning: [BY GROUP / BY VALUE] - Title and what to spot: [TITLE AND FOCUS] </inputs> <task> Build a treemap where each category is a rectangle sized by its value and colored by group or value, with labels showing the name and value where the box is large enough, a legend, and tooltips for small boxes. Group children under their parent visually. Add a caption naming the largest block and the share of the top two or three. </task> <constraints> - One self-contained HTML file; CDN plugin allowed if needed. - Rectangle areas proportional to values; labels only where they fit, tooltips elsewhere. - Colorblind-safe palette; accessible and responsive. </constraints> <format> Return the full HTML as an artifact, then say when a treemap beats a bar chart for showing part-to-whole with many categories. </format>
Builds a treemap that sizes nested categories by area with grouping, labels, and a share caption as a previewable artifact.
Pro tip: Treemaps handle dozens of categories where a pie chart can't; group items with 'Parent > Child' so the nesting shows in the layout.
Frequently Asked Questions
Prompts are the starting line. Tutorials are the finish.
A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.
7-day free trial. Cancel anytime.