Data Analytics
pendingby rayjun
Data analytics dashboard with heatmap and charts for your vault.
Obsidian Data Analytics
A data analytics dashboard plugin for Obsidian. Visualize your note-taking habits with a GitHub-style contribution heatmap, trend charts, tag distribution, and activity statistics.
Features
- GitHub-style Heatmap — Daily note activity (created + modified) displayed as a contribution grid
- Summary Cards — Total notes, total words, current writing streak, average words per day
- Trend Chart — Line chart showing note count and word count trends over time
- Tag Distribution — Horizontal bar chart of your most-used tags
- Weekday Activity — Bar chart showing which days of the week you're most active
- Time Range Switching — Toggle between Week / Month / Year views
- Mixed Language Support — Word count handles both Chinese characters and English words
- Responsive Layout — Adapts to narrow panes and mobile devices
Installation
From Obsidian Community Plugins (Recommended)
- Open Obsidian Settings → Community plugins
- Click "Browse" and search for Data Analytics
- Click Install, then Enable
Install Script
git clone https://github.com/rayjun/obsidian-data-analytics.git
cd obsidian-data-analytics
./install.sh # Build only
./install.sh /path/to/vault # Build and install to vault
Manual Install
- Download
main.js,manifest.json,styles.cssfrom the latest release - Create folder
<vault>/.obsidian/plugins/data-analytics/ - Copy the 3 files into that folder
- Restart Obsidian → Settings → Community plugins → Enable Data Analytics
Usage
- Click the bar chart icon in the left ribbon to open the dashboard
- Or use the command palette:
Data Analytics: Open analytics dashboard
Settings
- Default time range — Choose whether the dashboard opens in Week, Month, or Year view
- Excluded folders — Folders to ignore during analysis (
.obsidianexcluded by default)
Development
# Install dependencies
npm install
# Development build (watch mode)
npm run dev
# Production build
npm run build
# Run tests
npm test
Tech Stack
- TypeScript (strict mode)
- Chart.js for line/bar charts
- Custom Canvas rendering for heatmap
- esbuild for bundling
- Vitest for testing
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.