Dataview Plugin
· Obsidian · #note/sink ·
Docs
Other links
- My DVJS bookmarks
- Complex structures via CustomJS plugin
- How to use Dataview outside a dataviewjs code block
- async & await in dataviewjs codeblock
- Code reuse
- Dataviewjs disappears in reading and preview mode
data: |
dataviewjs:
const loadData = async () => {
return dv.pages()
.groupBy(p => p.file.ctime.toFormat("HH"))
.map(p => ({cdate: p.key, count: p.rows.length}))
.array();
};
return await loadData();