Turn a small dataset into an interactive dashboard with correct numbers.
Prompts that make ChatterMate.Ai build a single-file interactive dashboard: KPI cards, inline-SVG charts, working filters and a sortable detail table, all computed in vanilla JavaScript from the data you supply. Student templates cover class projects; professional templates add targets, period-over-period change, reconciliation and stakeholder-ready insights.
Learn the template. Hover each coloured slot and ? to see what goes where and why.
Study a sample. Compare the filled prompt with its real output preview.
Make it yours. Fill in the blanks, then ๐ Try it in ChatterMate.Ai.
Switch level: the template, slots and samples change together.
๐งฉ Prompt template ๐ Student
Students building a dashboard from a small dataset for a class project or personal tracker.
Hover or tap a coloured slot to see what to write. Every block has a ? that explains why it is there. Fill the blanks, then Try it in ChatterMate.Ai.
๐ญRole01Why Role?Sets the expertise and voice. A specific expert role pulls in the right vocabulary, standards and judgement.
You are a data-visualisation tutor who builds correct dashboards in vanilla HTML, CSS and JavaScript.
๐ฏGoal02Why Goal?One clear outcome and why it matters. The model optimises for what you name here.
Build a one-page interactive dashboard for my CourseCourse code and name, so the audience and level are clear.e.g. STAT 101 Intro Statistics project, ProjectOne line naming the dataset and what it tracks.e.g. campus dining satisfaction survey, that I can explain in class.
๐งญContext03Why Context?Facts the model cannot guess: your situation, background and known limits.
No libraries; shown on a projector and on phones.
๐ฅAudience04Why Audience?Who reads the result decides depth, tone and jargon.
CourseCourse code and name, so the audience and level are clear.e.g. STAT 101 Intro Statistics classmates and instructor, new to this data.
๐ฅInputs05Why Inputs?The material to use, and an explicit rule not to invent anything outside it.
Data (CSV): Data (CSV)Paste a small CSV: header row plus up to ~15 rows.e.g. Month,Category,Budget,Actual / Sep,Rent,650,650 / Sep,Groceries,220,248 Use only these rows; never invent or extrapolate values; show n/a if missing.
๐ชSteps06Why Steps?An ordered procedure makes the model plan before it writes, which improves structure and accuracy.
1. Embed the rows as a JS array. 2. Compute 3-4 KPI cards in code, never hard-coded; weight averages by counts. 3. Two inline-SVG charts answering: QuestionsThe 2 questions the charts must answer.e.g. Which meal rates highest? Which hall would students return to? 4. Filters for FiltersColumns to filter by (categories, not numbers).e.g. dining hall and meal update every card, chart, table and takeaway. 5. Sortable table with a totals row. 6. 2-3 takeaways computed from the filtered rows.
๐งConstraints07Why Constraints?Length, must-include, must-avoid and honesty rules. Constraints turn a generic answer into a usable one.
One self-contained HTML file, no external requests. Responsive 320-1440px, no horizontal scroll (table scrolls in its box). Labelled keyboard-usable controls; colour never the only cue. Zero-based bars with value labels.
๐จTone & style08Why Tone & style?Voice, formality and style words keep the output on-brand and appropriate.
Friendly, clean, minimal; every label readable in 5 seconds.
๐Output format09Why Output format?The exact structure you want back: headings, tables, code, sections. Saves a rewrite.
One complete HTML file in a code block, then how each KPI is calculated, with the full-data arithmetic.
๐งชExample10Why Example?A short good example anchors the pattern (few-shot prompting).
KPI card: Average rating 3.92 / 5 (weighted, n = 124).
โ Self-check11Why Self-check?Acceptance criteria the model verifies before answering. Catches gaps and invented facts.
Recompute each KPI by hand and match it; every filter changes every part; filtered totals sum to the full total; nothing loads online.
๐Follow-up12Why Follow-up?Tells the model what to ask or offer next, so the conversation keeps improving the result.
Ask if I want another chart or a printable version; offer 3 talking points for my talk.
Course code and name, so the audience and level are clear.
One line naming the dataset and what it tracks.
Paste a small CSV: header row plus up to ~15 rows.
The 2 questions the charts must answer.
Columns to filter by (categories, not numbers).
Your prompt0 / 2000
Saved in this browser only. Nothing is sent until you press Try.
โจ Sample prompts built from this template
2 examples ยท each with a real output you can preview, copy and download
A STAT 101 student turns 124 dining-survey responses into weighted ratings, a would-return rate and filters by hall and meal.
โ๏ธ Prompt ยท 1,890 chars
ROLE: You are a data-visualisation tutor who builds correct dashboards in vanilla HTML, CSS and JavaScript.
GOAL: Build a one-page interactive dashboard for my STAT 101 Intro Statistics project, campus dining satisfaction survey, that I can explain in class.
CONTEXT: No libraries; shown on a projector and on phones.
AUDIENCE: STAT 101 Intro Statistics classmates and instructor, new to this data.
INPUTS: Data (CSV): Hall,Meal,Responses,Avg_Rating,Return_Yes; North,Breakfast,18,3.6,11; North,Lunch,25,4.1,19; North,Dinner,22,3.9,15; East,Breakfast,12,3.2,6; East,Lunch,20,3.8,13; East,Dinner,27,4.4,23 (; = new row; rating 1-5; Return_Yes = would return). Use only these rows; never invent or extrapolate values; show n/a if missing.
STEPS: 1. Embed the rows as a JS array. 2. Compute 3-4 KPI cards in code, never hard-coded; weight averages by counts. 3. Two inline-SVG charts answering: Which meal has the best rating, weighted by responses? Which hall has the higher would-return rate? 4. Filters for dining hall and meal update every card, chart, table and takeaway. 5. Sortable table with a totals row. 6. 2-3 takeaways computed from the filtered rows.
CONSTRAINTS: One self-contained HTML file, no external requests. Responsive 320-1440px, no horizontal scroll (table scrolls in its box). Labelled keyboard-usable controls; colour never the only cue. Zero-based bars with value labels.
TONE: Friendly, clean, minimal; every label readable in 5 seconds.
OUTPUT FORMAT: One complete HTML file in a code block, then how each KPI is calculated, with the full-data arithmetic.
EXAMPLE: KPI card: Average rating 3.92 / 5 (weighted, n = 124).
SELF-CHECK: Recompute each KPI by hand and match it; every filter changes every part; filtered totals sum to the full total; nothing loads online.
FOLLOW-UP: Ask if I want another chart or a printable version; offer 3 talking points for my talk.
๐ ๏ธ Make it yours
Paste your own survey summary; keep counts per row so weighted averages are possible.
Change the two questions to the comparisons your assignment asks for.
Swap the filters for any category columns you have, such as year group or campus.
๐ Follow-up prompts (3)
Add a grouped bar chart comparing North and East for each meal, and keep it in sync with the filters.
Copy this follow-up
Write three 20-second talking points for my class presentation based on the full dataset, citing the exact numbers.
Copy this follow-up
Add a short "Limitations" note: sample size per group and why small groups should be read with care.
Copy this follow-up
Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.
๐ Sample output
Interactive survey dashboard: weighted rating, would-return rate, two SVG charts, hall and meal filters, sortable table.
Interactive survey dashboard: weighted rating, would-return rate, two SVG charts, hall and meal filters, sortable table. Example output; yours will differ.
A FIN 110 student compares planned and actual spending across two months and four categories, with over/under status.
โ๏ธ Prompt ยท 1,860 chars
ROLE: You are a data-visualisation tutor who builds correct dashboards in vanilla HTML, CSS and JavaScript.
GOAL: Build a one-page interactive dashboard for my FIN 110 Personal Finance project, my two-month semester budget tracker, that I can explain in class.
CONTEXT: No libraries; shown on a projector and on phones.
AUDIENCE: FIN 110 Personal Finance classmates and instructor, new to this data.
INPUTS: Data (CSV): Month,Category,Budget,Actual; Sep,Rent,650,650; Sep,Groceries,220,248; Sep,Transport,60,41; Sep,Fun,80,112; Oct,Rent,650,650; Oct,Groceries,220,205; Oct,Transport,60,55; Oct,Fun,80,96 (; = new row; USD). Use only these rows; never invent or extrapolate values; show n/a if missing.
STEPS: 1. Embed the rows as a JS array. 2. Compute 3-4 KPI cards in code, never hard-coded; weight averages by counts. 3. Two inline-SVG charts answering: Which categories went over budget, and by how much? Did my overspending improve from September to October? 4. Filters for month and category update every card, chart, table and takeaway. 5. Sortable table with a totals row. 6. 2-3 takeaways computed from the filtered rows.
CONSTRAINTS: One self-contained HTML file, no external requests. Responsive 320-1440px, no horizontal scroll (table scrolls in its box). Labelled keyboard-usable controls; colour never the only cue. Zero-based bars with value labels.
TONE: Friendly, clean, minimal; every label readable in 5 seconds.
OUTPUT FORMAT: One complete HTML file in a code block, then how each KPI is calculated, with the full-data arithmetic.
EXAMPLE: KPI card: Average rating 3.92 / 5 (weighted, n = 124).
SELF-CHECK: Recompute each KPI by hand and match it; every filter changes every part; filtered totals sum to the full total; nothing loads online.
FOLLOW-UP: Ask if I want another chart or a printable version; offer 3 talking points for my talk.
๐ ๏ธ Make it yours
Replace the rows with your own months and categories; keep Budget and Actual as plain numbers.
Add a Savings category if you want the dashboard to track money set aside.
Ask for a monthly limit per category to show a red or green status pill.
๐ Follow-up prompts (2)
Add a running-total line chart of actual spending vs budget across the months.
Copy this follow-up
Suggest three realistic changes to bring my Fun and Groceries spending back on budget, using only my numbers.
Copy this follow-up
Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.
๐ Sample output
Budget vs actual dashboard: over/under KPI, grouped bar charts by category and month, filters, sortable table.
Budget vs actual dashboard: over/under KPI, grouped bar charts by category and month, filters, sortable table. Example output; yours will differ.
Analysts, finance and operations leads building an executive KPI dashboard that must reconcile.
Hover or tap a coloured slot to see what to write. Every block has a ? that explains why it is there. Fill the blanks, then Try it in ChatterMate.Ai.
๐ญRole01Why Role?Sets the expertise and voice. A specific expert role pulls in the right vocabulary, standards and judgement.
You are a senior BI developer who builds executive dashboards whose numbers reconcile.
๐ฏGoal02Why Goal?One clear outcome and why it matters. The model optimises for what you name here.
Build a KPI dashboard for CompanyOrganisation and what it does (fictional or your own).e.g. Northwind Outdoor Supply, a regional outdoor retailer, so StakeholdersWho reads the dashboard and decides from it.e.g. the CEO, CFO and three regional sales directors judge every target in 30 seconds.
๐งญContext03Why Context?Facts the model cannot guess: your situation, background and known limits.
Targets: TargetsNumeric targets or thresholds per KPI, with scope.e.g. Q3 revenue $900,000; gross margin 33.0%; AOV $500. Used on laptops and phones.
๐ฅAudience04Why Audience?Who reads the result decides depth, tone and jargon.
Numerate executives who challenge unreconciled figures.
๐ฅInputs05Why Inputs?The material to use, and an explicit rule not to invent anything outside it.
Data: Data sourceAttached file name and columns, or a short inline CSV.e.g. Attached sales.csv: Month, Region, Revenue_USD, Cost_USD, Orders Embed it as a JS array; never invent rows, forecasts or benchmarks; write not in data.
๐ชSteps06Why Steps?An ordered procedure makes the model plan before it writes, which improves structure and accuracy.
1. Profile the data. 2. Code each KPI: KPIsEach KPI with its formula; note point-in-time vs summable.e.g. Revenue; Gross margin % = total profit / total revenue; Orders Ratios = sum of numerator / sum of denominator. 3. Cards: value, target status in words, change vs prior period. 4. Inline-SVG trend, segment and ranking charts. 5. Filters for FiltersCategory columns to filter by.e.g. month and region recompute everything. 6. Sortable table with totals row. 7. Three insights citing numbers.
๐งConstraints07Why Constraints?Length, must-include, must-avoid and honesty rules. Constraints turn a generic answer into a usable one.
One HTML file, vanilla JS, no external requests. Responsive 320-1440px, no horizontal scroll. WCAG AA, labelled keyboard controls, status as text plus colour. Thousands separators, 1-decimal %, zero-based bars.
๐จTone & style08Why Tone & style?Voice, formality and style words keep the output on-brand and appropriate.
Executive, neutral, precise; units on every label.
๐Output format09Why Output format?The exact structure you want back: headings, tables, code, sections. Saves a rewrite.
HTML in one code block, then a reconciliation table (KPI, formula, full-data value) and assumptions.
๐งชExample10Why Example?A short good example anchors the pattern (few-shot prompting).
Card: Margin 32.8%, 0.2 pts under target, +1.6 pts vs Aug.
โ Self-check11Why Self-check?Acceptance criteria the model verifies before answering. Catches gaps and invented facts.
Reconcile each full-data KPI by hand vs code; segments sum to totals; every filter updates every part; no external requests.
๐Follow-up12Why Follow-up?Tells the model what to ask or offer next, so the conversation keeps improving the result.
Ask which KPI needs drill-down or an alert; offer CSV export or a one-slide summary.
Organisation and what it does (fictional or your own).
Who reads the dashboard and decides from it.
Numeric targets or thresholds per KPI, with scope.
Attached file name and columns, or a short inline CSV.
Each KPI with its formula; note point-in-time vs summable.
Category columns to filter by.
Your prompt0 / 2000
Saved in this browser only. Nothing is sent until you press Try.
โจ Sample prompts built from this template
2 examples ยท each with a real output you can preview, copy and download
A retailerโs leadership team gets Q3 revenue, margin, orders and AOV vs target by month and region, from the attached fictional CSV.
โ๏ธ Prompt ยท 1,840 chars
ROLE: You are a senior BI developer who builds executive dashboards whose numbers reconcile.
GOAL: Build a KPI dashboard for Northwind Outdoor Supply (fictional), an outdoor retailer, so the CEO, CFO and regional sales directors judge every target in 30 seconds.
CONTEXT: Targets: Q3 revenue $900,000 (full quarter, all regions); margin 33.0%; AOV $500. Used on laptops and phones.
AUDIENCE: Numerate executives who challenge unreconciled figures.
INPUTS: Data: the attached fictional-q3-dashboard.csv (Period, Month, Region, Revenue_USD, Cost_USD, Orders; 9 rows). Read it; do not retype or alter values. Embed it as a JS array; never invent rows, forecasts or benchmarks; write not in data.
STEPS: 1. Profile the data. 2. Code each KPI: Revenue; Cost; Gross profit = revenue - cost; Margin % = total profit / total revenue; Orders; AOV = revenue / orders. Ratios = sum of numerator / sum of denominator. 3. Cards: value, target status in words, change vs prior period. 4. Inline-SVG trend, segment and ranking charts. 5. Filters for month and region recompute everything. 6. Sortable table with totals row. 7. Three insights citing numbers.
CONSTRAINTS: One HTML file, vanilla JS, no external requests. Responsive 320-1440px, no horizontal scroll. WCAG AA, labelled keyboard controls, status as text plus colour. Thousands separators, 1-decimal %, zero-based bars.
TONE: Executive, neutral, precise; units on every label.
OUTPUT FORMAT: HTML in one code block, then a reconciliation table (KPI, formula, full-data value) and assumptions.
EXAMPLE: Card: Margin 32.8%, 0.2 pts under target, +1.6 pts vs Aug.
SELF-CHECK: Reconcile each full-data KPI by hand vs code; segments sum to totals; every filter updates every part; no external requests.
FOLLOW-UP: Ask which KPI needs drill-down or an alert; offer CSV export or a one-slide summary.
๐ ๏ธ Make it yours
Attach your own CSV and list its exact column names in the Data source slot.
State whether each target applies to the full period or to any slice, so status pills stay honest.
Add a prior-period file if you want year-over-year change instead of month-over-month.
๐ Follow-up prompts (3)
Add an alert banner when any regionโs gross margin falls below 31%, and list the rows that trigger it.
Copy this follow-up
Add an export-to-CSV button that downloads the currently filtered rows with computed profit and margin columns.
Copy this follow-up
Write a one-slide executive summary of Q3 using only the reconciled figures, with one recommended action per region.
Copy this follow-up
Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.
๐ Sample output
Executive dashboard from the attached CSV: 5 KPI cards with target status, trend, margin and ranking charts, filters, reconciliation.
Executive dashboard from the attached CSV: 5 KPI cards with target status, trend, margin and ranking charts, filters, reconciliation. Example output; yours will differ.
A B2B SaaS COO sees logo churn, net new customers and MRR growth vs target by quarter and segment, with point-in-time metrics handled correctly.
โ๏ธ Prompt ยท 1,899 chars
ROLE: You are a senior BI developer who builds executive dashboards whose numbers reconcile.
GOAL: Build a KPI dashboard for Brightlane Software (fictional), B2B SaaS, so the COO and VP Customer Success judge every target in 30 seconds.
CONTEXT: Targets: churn under 6.0%; MRR growth โฅ5% QoQ. Used on laptops and phones.
AUDIENCE: Numerate executives who challenge unreconciled figures.
INPUTS: Data: Quarter,Segment,Start,New,Churned,MRR; Q1,SMB,400,60,28,152000; Q1,Mid,120,14,4,198000; Q2,SMB,432,55,31,158000; Q2,Mid,130,12,3,214000; Q3,SMB,456,58,27,171000; Q3,Mid,139,15,5,236000 (; = new row; MRR USD at quarter end). Embed it as a JS array; never invent rows, forecasts or benchmarks; write not in data.
STEPS: 1. Profile the data. 2. Code each KPI: Ending = start + new - churned; Net new; Churn % = total churned / total start; MRR; MRR growth % QoQ. Ending and MRR use the latest quarter, never summed. Ratios = sum of numerator / sum of denominator. 3. Cards: value, target status in words, change vs prior period. 4. Inline-SVG trend, segment and ranking charts. 5. Filters for quarter and segment recompute everything. 6. Sortable table with totals row. 7. Three insights citing numbers.
CONSTRAINTS: One HTML file, vanilla JS, no external requests. Responsive 320-1440px, no horizontal scroll. WCAG AA, labelled keyboard controls, status as text plus colour. Thousands separators, 1-decimal %, zero-based bars.
TONE: Executive, neutral, precise; units on every label.
OUTPUT FORMAT: HTML in one code block, then a reconciliation table (KPI, formula, full-data value) and assumptions.
EXAMPLE: Card: Margin 32.8%, 0.2 pts under target, +1.6 pts vs Aug.
SELF-CHECK: Reconcile each full-data KPI by hand vs code; segments sum to totals; every filter updates every part; no external requests.
FOLLOW-UP: Ask which KPI needs drill-down or an alert; offer CSV export or a one-slide summary.
๐ ๏ธ Make it yours
Mark every point-in-time metric (MRR, headcount, balances) so it is never summed across periods.
Add revenue churn or NRR only if your data has expansion and contraction MRR columns.
Change targets to your board-approved thresholds and say whether lower or higher is better.
๐ Follow-up prompts (2)
Add a cohort-style table showing, per quarter, starting customers, churned and churn rate by segment, with a target column.
Copy this follow-up
Draft three retention actions for the SMB segment and say which KPI on this dashboard would show each one working.
Copy this follow-up
Paste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.
๐ Sample output
Retention dashboard: churn vs target, net new, point-in-time MRR and QoQ growth, three SVG charts, quarter and segment filters.
Retention dashboard: churn vs target, net new, point-in-time MRR and QoQ growth, three SVG charts, quarter and segment filters. Example output; yours will differ.
Edit before sharing. X and supported device apps use this message. For Facebook or LinkedIn, copy it here and paste it into your post. These buttons share a link preview, not an uploaded media file. For a native video post or Reel, download the captioned MP4 and upload it in your app.
Edit before sharing. X and supported device apps use this message. For Facebook or LinkedIn, copy it here and paste it into your post. These buttons share a link preview, not an uploaded media file. For a native video post or Reel, download the captioned MP4 and upload it in your app.
YouTube, Instagram and TikTok do not provide a Facebook-style web link-share dialog. These icons open the device share menu, which may offer installed apps. This site cannot choose the app or guarantee it accepts a link. If it is missing, copy the message and link for a supported post or message.