Contribution Graph

approved

by vran

Generate an interactive heatmap to visualize and track your productivity.

425 stars47,854 downloadsUpdated 1y agoApache-2.0
View on GitHub

English | 中文文档

What

Contribution Graph is a plugin for obsidian.md which can generate interactive heatmap graphs like GitHub to track your notes, habits, activity, history, and so on.

buy me a coffee

Use Cases

  • Habit Tracker: Count the number of tasks you complete every day. Different numbers will be marked in different colors.
  • Note Tracker: Count the number of notes you create every day. Different numbers will be marked in different colors.
  • Review Report: Count your notes or tasks for a certain period of time and generate a heat map for a more intuitive review
  • and more...

Quick Start

  • Create empty note, then right-click
  • Select Add Heatmap options
  • Click the save button, and then a heatmap will be created in note.

Alt text

Themes

  • Git Style

alt text

  • Month Track

alt text

  • Calendar

alt text

Features

  • Multiple graph types, support week-track(default), month-track, and calendar view.
  • Personalized style, you can configure cell colors and fill cells with emojis.
  • Customizable dates,use fixed date range or latest date to generate graph
  • Interactive charts, you can customize cell click event, hover to show statistic data
  • Integrate with DataviewJS, use contribution graph's api to dynamically render charts

How to Modify Graph?

Just click the edit button at top right corner

Alt text

Configurations

namedescriptiontypedefaultsamplerequired
titlethe title of the graphstringContributionsfalse
titleStylethe style of the titleobjectfalse
daysMaximum number of days for the chart to display (starting from today)number365true if miss fromDate and toDate
fromDateThe start date of the chartdate, format yyyy-MM-dd2023-01-01true if miss days
toDateThe end date of the chartdate, format yyyy-MM-dd2023-12-31true if miss days
querydataview query syntax, contribution graph will use it to count filesstringtrue
dateFieldDate attributes of files used for data distributionstringfile.ctimecreateTimefalse
startOfWeekstart of weeknumber0false
showCellRuleIndicatorsControl the display and hiding of cell rule indicator elementsbooleantruefalse
cellStyleRulescell style rulearrayfalse

More Usage Guides

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.