Contribution Graph - generate heatmap charts to track your activity

This requires the use of dvjs code

  • read data from json file
  • Parse this data and group by day
  • use contribution graph’s API to render this data

JSON read sample

const jsonString = await app.vault.adapter.read(".obsidian/vault-stats.json");
const jsonObject = JSON.parse(jsonString);

contribution graph’s API document: obsidian-contribution-graph/README_ADVANCE.md at master · vran-dev/obsidian-contribution-graph · GitHub