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

rwyattwalkerrwyattwalker122 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
82%
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
2 months ago
Created
2 months ago
Updates
1 release
Downloads
122
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.

Google Calendar

Interact with your Google Calendar.

Contribution Graph

Generate an interactive heatmap to visualize and track your productivity.

Local REST API & MCP Server

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

TaskNotes

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

Day Planner

Day planning from a task list in a Markdown note with enhanced time block functionality.

BRAT

Easily install a beta version of a plugin for testing.

Maps

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

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Zotero Integration

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