Turn bank statements or sales spreadsheets into a shareable dashboard

Export a CSV, have Claude clean and categorize it, and get a one-file HTML dashboard with charts, a month filter and a red-flags box that you can rebuild in seconds when new data arrives.

  • Level Intermediate
  • Time 1-2 hours the first time, under 5 minutes per refresh
  • Works with
    • Claude.ai
    • Claude Desktop
    • Claude Code
On this page7 sections

This guide turns a pile of rows (a bank statement, a Shopify or Stripe export, a sales sheet) into one dashboard page. It shows where the money went, how each month compares and what looks odd. You’ll do it once with Claude’s help and save the recipe, so next month you drop in a new CSV and rebuild the page in seconds.

We ran the Claude Code version on a made-up three-month bank statement (66 rows). It produced the categories file, a Python build script and the dashboard in one run. The monthly totals matched the raw file to the cent, and the red-flags box caught a planted duplicate charge and a subscription price rise.

What you’ll have at the end

  • dashboard.html: a single file with charts (spending by category, money in vs. out per month, top 10 merchants or customers), a month filter and a Red flags box.
  • categories.csv: your own rules for sorting rows (“STREAMFLIX → Subscriptions”), which you can edit in Excel.
  • build_dashboard.py: a small script that rebuilds the page from whatever CSVs are in the data folder.
  • Optional: a private link you can share with a partner, bookkeeper or team.

A CSV is a plain spreadsheet file that every bank and shop platform can export. Python is the programming language Claude uses to write the build script. You don’t need to read it.

What you need, and what it costs

RoutePlanBest for
claude.ai or Claude Desktop (chat)Any plan, including Free. Artifacts need Code execution and file creation turned on.One file, a quick look, no install
Claude Code (terminal or Desktop Code tab)Pro, Max, Team or Enterprise, or a Console accountMany files, monthly refreshes, a reusable script
Claude Dashboards template (beta)Pro, Max, Team, EnterpriseData that already lives in a warehouse or connected app such as Salesforce, not CSV files

Files you upload to claude.ai can be up to 30 MB each. All routes count toward your normal usage limits. Nothing here needs a paid third-party tool.

Before you start: protect your data

  • Export, don’t connect. Download statements as CSV from your bank’s website. Don’t give any tool your banking password.
  • Strip what you don’t need. Delete account numbers and card numbers from the file before you upload it. The dashboard doesn’t need them.
  • Work on copies. Keep the original exports in a separate folder.
  • Never publish financial data publicly. Artifacts start private (“Only you”). Keep personal finance dashboards that way, or invite one named person by email.

Step-by-step

1. Export your data

  • Bank: look for “Download transactions” or “Export” and choose CSV. Pick whole months, so the totals line up.
  • Sales: most shop and payment platforms export orders or payouts as CSV from their reports or orders page.

Put the files in a folder called data. Several months in separate files is fine.

2a. The no-code route: claude.ai or Claude Desktop chat

  1. Check Settings > Capabilities and make sure Code execution and file creation is on (Free, Pro, Max). On Team or Enterprise, an Owner controls it under Organization settings > Capabilities.
  2. Start a new chat and attach your CSV with the paperclip or + button.
  3. Paste the profiling prompt (step 3), then the build prompt (step 5), changing “Write a Python script” to “Build this as an artifact”.
  4. The dashboard opens beside the chat. It’s saved to the Artifacts tab in your sidebar.

You can’t automate the refresh in a chat. Next month, open the same chat, attach the new file and ask Claude to “rebuild the dashboard with this month added, using the same categories”.

2b. The repeatable route: Claude Code

  • Terminal: install Claude Code (curl -fsSL https://claude.ai/install.sh | bash on macOS, Linux and WSL; irm https://claude.ai/install.ps1 | iex in Windows PowerShell). Then cd into the folder that holds data and run claude.
  • Claude Desktop: click the Code tab, select Local, click Select folder and choose the folder that holds data.

Claude Code asks before running commands. Read each request and approve it.

3. Profile the data first

Don’t jump straight to charts. A profile is a quick health check: what columns exist, which dates the data covers and whether the numbers add up.

Read every CSV in ./data. Tell me: the columns in each file, the date format, the date range, the row count, total money in and total money out, any blank or odd cells, and whether a running balance column (if there is one) adds up row by row. Don't change any files yet.

Fix problems now. If one bank writes -12.50 and another writes 12.50 DR, tell Claude which means money out.

4. Agree on categories

Suggest 8-12 categories for these transactions (for a household budget: Income, Housing, Utilities, Groceries, Eating out, Transport, Shopping, Health, Subscriptions, Refunds, Other). Save the matching rules to categories.csv with two columns, keyword and category, where the first match wins. Show me any transaction you weren't sure about.

For sales data, use categories like product line, channel or region instead. Open categories.csv in Excel and fix anything you disagree with. This file is your rulebook from now on. Our test run’s rules looked like this:

keyword,category
REFUND,Refunds
PAYROLL,Income
RENT,Housing
POWER & GAS,Utilities
GROCERY,Groceries
CORNER CAFE,Eating out
TRANSIT,Transport
AMZN,Shopping
STREAMFLIX,Subscriptions

Put specific rules (REFUND) above general ones (AMZN). Otherwise an Amazon refund lands in Shopping.

5. Build the dashboard

This is the build half of the prompt we tested (our test run did steps 3 to 5 in one go):

Read every CSV in ./data. Sort each transaction into a category using categories.csv. Write a Python script called build_dashboard.py that reads all CSVs in ./data plus categories.csv and writes dashboard.html: one self-contained file that uses Chart.js from cdnjs, with a month filter, spending by category, money in vs out per month, the top 10 merchants, and a Red flags box that lists possible duplicate charges, subscriptions whose price changed, and any uncategorized rows. Use only the Python standard library. Run the script. Finally, print a check table: money in and money out for each month computed directly from the raw CSV, next to the same numbers as the dashboard shows them.

Open dashboard.html in your browser by double-clicking it. The charts load from a public library site (cdnjs), so you need to be online to see them.

Chart.js is a free charting library. “Standard library only” means the script needs nothing extra installed beyond Python.

6. Check the totals yourself

Language models can mis-add, so the prompt makes Claude compare its dashboard against the raw file. Then do one check of your own:

  1. Pick one month.
  2. Add up money out in the CSV using Excel’s SUM.
  3. Compare it with the dashboard.

Then open the red flags one by one. In our test, the check flagged the planted double Amazon charge, which a later refund had already reversed. It also flagged two $2.50 transit fares on the same day, which were probably real. Red flags are questions, not verdicts.

7. Save the refresh as a one-word command (Claude Code)

A skill is a saved set of instructions Claude Code can run on request. Create the file .claude/skills/refresh-dashboard/SKILL.md in your project folder:

---
name: refresh-dashboard
description: Rebuild dashboard.html from the CSVs in ./data using categories.csv, then verify totals. Use when the user adds new data or asks to refresh the dashboard.
disable-model-invocation: true
---

1. List the files in ./data and say which ones are new since dashboard.html was last built.
2. Profile only the new files: columns, date range, row count, money in and out. Stop and ask if the columns differ from earlier files.
3. Find transactions that no rule in categories.csv matches. Suggest a category for each and ask me before adding rules.
4. Run: python3 build_dashboard.py
5. Print the check table: per-month money in and out from the raw CSVs next to the dashboard's numbers. Flag any difference over 0.01.
6. Summarize the new red flags in plain English.

Next month, drop the new CSV into data, start Claude Code and type /refresh-dashboard. The disable-model-invocation: true line means the skill runs only when you type it, never by surprise.

8. Share it privately (optional)

  • From Claude Code: ask “Publish dashboard.html as an artifact.” Claude Code publishes it to a private page on claude.ai. Artifacts from Claude Code need a Pro, Max, Team or Enterprise plan and a claude.ai login (/login). It stays private to you until you share it. On Team and Enterprise you can share it with named people or everyone in your organization, who sign in to see it. The other option is a public link that anyone can open without signing in, so never use it for bank or customer data. On Pro or Max, if you need to show one person, open the file in a chat and share that artifact by email invite instead.
  • From a chat: open the artifact, click Share, and pick who has access. On Pro and Max that’s “Only you”, “Anyone with the link” or an email invite.
  • Your own site: the Netlify MCP server can deploy the file and change who can see the site. Check which access controls your Netlify plan includes, and turn them on before the first deploy. Only do this with business data you’re allowed to share.

For a household budget, “Only you” plus one email invite is plenty.

What can go wrong

  • Wrong signs. Some banks export money out as positive numbers in a separate column. The profile step catches this. Tell Claude which column means what.
  • Double counting. Transfers between your own accounts show up as money out in one file and money in in another. Add a TRANSFER rule with its own category and ask Claude to leave it out of spending.
  • Mis-sums. Always keep the check table in the prompt, and do your own SUM on one month.
  • Blank charts. The page needs internet access to load Chart.js. When Claude Code publishes a page as an artifact, scripts can load only from a few public sites, and cdnjs is one of them, so ask for cdnjs by name.
  • Page too big to publish. Artifacts must be 16 MiB or smaller. For years of sales data, ask Claude to pre-total by day or week instead of embedding every row.
  • Shared by accident. Check who has access in the Share menu before you send a link.

Make it yours

  • Small shop: use a payouts or orders export and categories by product line. Add “average order value per month” and “best day of week” charts.
  • Freelancer: tag income by client and add a “who owes me” table from an invoices CSV.
  • Budget targets: add a budget.csv (category, monthly limit) and ask for a red flag when a category goes over.
  • Excel version: ask Claude to also write summary.xlsx with real SUM formulas, so your accountant can check the numbers in Excel.
  • Bigger app feel: for tabs, sortable tables and filters across many views, ask Claude to use the web artifacts builder skill. It bundles a React app into one HTML file.

Next steps

Sources

Facts checked against these sources on . Page updated . How we check facts

  1. support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them (opens in a new tab)
  2. support.claude.com/en/articles/9547008-share-artifacts (opens in a new tab)
  3. support.claude.com/en/articles/17454700-get-started-with-claude-dashboards (opens in a new tab)
  4. support.claude.com/en/articles/12111783-create-and-edit-files-with-claude (opens in a new tab)
  5. code.claude.com/docs/en/artifacts (opens in a new tab)
  6. code.claude.com/docs/en/skills (opens in a new tab)
  7. code.claude.com/docs/en/desktop-quickstart (opens in a new tab)
  8. code.claude.com/docs/en/setup (opens in a new tab)

Related guides

All guides