Bases Chart Cards · Obsidian plugin documentation
Bases Chart Cards documentation

Turn Obsidian Bases (.base) views and folder YAML frontmatter properties into crisp, theme-aware SVG charts on desktop and mobile. Instead of exporting tables to external spreadsheet apps, render live Bar and Donut charts inside Markdown notes with bases-chart code blocks or in a dedicated Chart Cards view.
Free features read your .base folder, tag, and property filters alongside YAML frontmatter without modifying any notes on disk. Optional Pro features add multi-series Line and Stacked Bar charts, chronological time-bucket grouping (day, week, month, quarter), a multi-chart Dashboard grid with saved presets, and high-resolution SVG and RFC-4180 CSV vault exports.
Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.
1 Installation
Use Obsidian 1.13.4 or newer on Windows, macOS, Linux, iOS, or Android (isDesktopOnly is false).
- Open Settings, go to Community plugins, select Browse, and search for Bases Chart Cards.
- Select Install, then select Enable.
- For a manual install, copy
main.js,manifest.json, andstyles.cssfrom the latest release into.obsidian/plugins/bases-chart-cards/, reload community plugins, and enable it.
2 Getting started
Add categorical, numeric, or ISO YYYY-MM-DD date properties to your note YAML frontmatter, or open a folder backed by a .base file.
Run Open chart view from the command palette or select the chart ribbon icon.
Choose a .base file, folder, or the entire vault in the source selector, pick Bar or Donut, and select Group by, Aggregate, and Metric.
Hover or focus any bar or slice to read exact values, or select Copy SVG to copy standalone SVG XML.
Embed a live chart in any note by adding a fenced bases-chart code block with type, base, groupBy, metric, and aggregation lines.
With Pro active, switch to Line or Stacked, pick a Series key and Time bucket interval, select Save preset to add cards to the Dashboard grid, or select Export SVG and Export CSV.
No default hotkeys are bound so your existing shortcuts stay conflict-free.
3 Features
Theme-aware Bar and Donut SVG charts
Run Open chart view or select the chart ribbon icon to inspect any .base file, folder, or the entire vault. Choose Bar or Donut, pick a grouping property and optional numeric metric, and aggregate with count, sum, avg, min, or max. Every bar and donut slice supports interactive hover and keyboard-focus tooltips, and Copy SVG copies clean standalone SVG markup to your clipboard in one click.
You can also embed live charts directly inside any Markdown note using a bases-chart fenced code block with type, base or folder, groupBy, metric, aggregation, title, and limit options.
Pro multi-series charts, time buckets, Dashboard grid, and exports
Pro expands the pure TypeScript SVG engine into a full metrics workspace backed by plain Markdown YAML frontmatter.
- Render multi-series Line and Stacked Bar charts split across a secondary frontmatter series property.
- Group date frontmatter fields into chronological day, week, month, or quarter buckets.
- Save reusable chart presets and inspect multiple charts side by side in a responsive Dashboard grid.
- Export high-resolution SVG charts and RFC-4180 CSV data tables directly into your vault.
Exports use vault.create with automatic filename numbering so existing .svg and .csv files are never overwritten.
Chart defaults and Pro settings
Configure default chart type, group and metric properties, aggregation function, default folder scope, confirmation notices, and Pro export options in Settings.
Settings changes refresh open chart views right away, alongside the NoteMods Pro catalog card and GitHub Sponsors sign-in controls.
Interactive What Pro adds demos
Run What Pro adds from the command palette, Settings, or any Pro notice to test all four Pro features on in-memory sample records before sponsoring.
Every demo runs in memory and never reads or writes vault files.
4 Commands
Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.
| Command | Command id |
|---|---|
| Open chart view | bases-chart-cards:open-chart-view |
| Open chart for active base or folder | bases-chart-cards:open-active-base-chart |
| Open chart dashboard | bases-chart-cards:open-chart-dashboard |
| Copy active chart SVG | bases-chart-cards:copy-chart-svg |
| Export active chart as SVG | bases-chart-cards:export-chart-svg |
| Export active chart as CSV | bases-chart-cards:export-chart-csv |
| What Pro adds | bases-chart-cards:what-pro-adds |
5 Settings
Default chart typesetsBar chartorDonut chartas the initial chart when opening a new view.Default group propertyandDefault metric propertydefine fallback YAML keys (statusand blank by default).Default aggregationselectsCount,Sum,Average,Minimum, orMaximum.Default folder scopeandShow confirmation noticescontrol the initial vault scope and notices after copies, preset saves, or exports.Show what's new after updatescontrols the background release summary tab, alongside Pro toggles forMulti-series Line and Stacked Bar charts,Time-bucket grouping,Multi-chart Dashboard grid and presets, andExport folder.
After a minor or major update, this plugin opens one What's new tab in the background. The tab and settings card suggest other NoteMods plugins and Zovo Chat and link to notemods.com for feedback (privacy). The tab sends no data. Turn the tab off in Settings.
6 Privacy, payment and network
The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.
One payment turns on Pro in every NoteMods plugin.
GitHub handles the payment. Sponsor at https://notemods.com/pro/go?p=bases-chart-cards&s=readme. You need no account for the free features. Pro needs the GitHub account that sponsors.
Until you select "Sign in with GitHub" in the settings, Bases Chart Cards makes no network requests. Sign in uses the GitHub device flow. Bases Chart Cards sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.
After sign in, Bases Chart Cards sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.
After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.
7 Questions and answers
Does the free version modify my notes or .base files?
No. Free features only read cached metadata and .base filter definitions. Files are only written when you explicitly run a Pro Export SVG or Export CSV action.
Does the SVG chart engine load external libraries or make network calls?
No. Every Bar, Donut, Line, and Stacked Bar chart is rendered locally by a pure TypeScript SVG engine using Obsidian CSS theme variables.
How does time-bucket grouping handle week boundaries?
Weekly buckets follow ISO-8601 week numbering (YYYY-Www, starting Monday), while day, month, and quarter produce sortable YYYY-MM-DD, YYYY-MM, and YYYY-Qn keys.
What happens if a note has a formatted currency string like $1,200?
Numeric aggregation strips leading currency symbols, percent signs, and thousands commas before summing, averaging, or finding min and max values, and skips non-numeric entries safely.
8 Support
Visit the GitHub repository for source code, releases, and bug reports. Include your operating system, Obsidian version, sample frontmatter, and chart settings when reporting an issue. Released under the MIT license.