Visualise your Habits based on DataViewJS in Obsidian
![]()
```dataviewjs
const weekData = {
year: 2022,
week: 25,
habits: [
{
colors: ["#c6e48b", "#49af5d"],
name: "iRacing",
entries: [
{
date: "2022-06-26",
value: 30
},
{
date: "2022-06-21",
value: 45
}
]
},
{
colors: ["#49af5d", "#c6e48b"],
name: "Language",
entries: [
{
date: "2022-06-23",
value: 30
}
]
}
]
}
renderHabitTracker(this.container, weekData)
```
This Plugin has been created on the foundation of the Heatmap Calendar by Richard Slettevoll