def get_data():
return {
'heatmap': True,
'heatmap_message': _('This is based on land sales. See {0} for details.')\
.format('<a href="#List/Land Sales/Report/Plant Land Sales">' + _('Land Sales Report') + '</a>'),
'fieldname': 'land',
This function as it self dont will get you a working heatmap in your dashboard.
This will only signal to frappe framework that it has to display a heatmap.
For feeding the heatmap with data, you have to create a get_timeline_data() function in “doctype”.py.