Use the denote-explore package to explore your notes
Peter Prevos has developed the denote-explore package which provides four groups of Emacs commands to explore your Denote files:
Summary statistics
Count notes, attachments and keywords.
Random walks
Generate new ideas using serendipity.
Janitor
Manage your denote collection.
Visualisations
Visualise your Denote network.
The package’s documentation covers the details: https://lucidmanager.org/productivity/denote-explore/.