Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Activity Graph

rwyattwalkerrwyattwalker410 downloads

Render activity heatmaps from Dataview query results.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Render a GitHub-style activity heatmap from Dataview queries. Use Dataview queries directly with optional query level setting overrides.

Requirements

  • Obsidian
  • Dataview plugin enabled

Basic usage

Use an activity-graph code block containing a Dataview query:

TABLE file.day AS date, 1 AS value
FROM "Daily"
SORT file.day ASC

Query requirements

Your Dataview query must return:

  • date: a date value (Dataview date, file.day, or an ISO date string like YYYY-MM-DD)
  • value: a number (for intensity; use 1 for binary activity)

Examples

Count files (binary activity):

TABLE date(file.name) AS date, 1 AS value
FROM "Exercise Logs"

Track a numeric field:

TABLE file.day AS date, duration AS value
FROM "Exercise Logs"

Per-query overrides

Add a --- block after the query:

TABLE file.day AS date, duration AS value
FROM "Exercise Logs"

---
title: Exercise
daysToShow: 90
showLegend: false
colorGradient: purple
minValue: 0
maxValue: 3
lessLabel: 0
moreLabel: 3+

Supported overrides:

  • title
  • daysToShow
  • showMonthLabels
  • showWeekdayLabels
  • showLegend
  • startWeekOnMonday
  • colorGradient
  • lessLabel
  • moreLabel
  • minValue
  • maxValue

Notes

  • The graph ends on today's date (local time) and shows daysToShow days backwards.
  • Overrides are plain key: value lines following a ---.
  • Supported gradients: green, blue, purple, orange, red, plus any custom palettes you add in settings (default: green).
  • minValue/maxValue let you lock the heatmap scale; leave blank in settings (or omit in overrides) to keep it relative.
  • The following css snippet can be added to allow more space for the graph, can look squished otherwise:
    body {
    --file-line-width: 1000px;
    }
    

Upcoming Features

  • Custom date range (currently only supports today - X days)
  • If you have a desired feature, let me know!

Screenshots

Query

image

Result

activity graph desktop

Default Color Pallets

Green

image

Blue

image

Purple

image

Orange

image

Red

image
HealthExcellent
ReviewSatisfactory
About
Render a GitHub-style activity heatmap from Dataview queries to visualize daily activity or numeric metrics across a rolling date range. Use Dataview date+value output and apply per-query overrides for range, colors, labels, and value scale to customize the chart (requires Dataview).
ChartsCalendarIntegrations
Details
Current version
1.0.0
Last updated
4 months ago
Created
4 months ago
Updates
1 release
Downloads
410
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
rwyattwalkerrwyattwalker
github.com/rwyattwalker
GitHubrwyattwalker
  1. Community
  2. Plugins
  3. Charts
  4. Activity Graph

Related plugins

Tracker

Track occurrences and numbers in your notes.

Gantt Calendar

A powerful visual task management plugin. Visualize and manage tasks created by the Tasks plugin, supporting both emoji and Dataview task formats. Support Feishu Task syncing.

Google Calendar

Interact with your Google Calendar.

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

BRAT

Easily install a beta version of a plugin for testing.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.