Blocks: Heatmap

Maintained by My mugMichael de Raadt
The Heatmap block overlays a heatmap onto a course to highlight activities with more or less activity to help teachers improve their courses.
356 sites
32 fans
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7

The Heatmap block overlays a heatmap onto a course to highlight activities with more or less activity to help teachers improve their courses.

  • Counts of visits and unique users to each activity is also shown.
  • The Heatmap can be toggled off when it is not needed.

The plugin is inspired by the Moodle Activity Viewer and uses similar queries to the Activity report.

Please report bugs/improvement suggestions here in the Moodle Tracker.


Screenshot #0
Screenshot #1
Screenshot #2


My mug
Michael de Raadt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Mathew Gancarz
    Tue, Jul 12, 2016, 4:48 AM
    Hi Michael, I've sent a pull request for a suggested change to the text color, the white on yellow is very hard to read for me, and according to the contrast checkers I've ran, the black works better on the red too.
  • Picture of Frank Smith
    Thu, Dec 1, 2016, 10:33 PM
    Hi Michael,
    I have picture links to websites and YouTube videos in my Moodle courses. Unfortunately these do not show a heat map of activity...
    Will a future Heat map update show activity on this type of resource ?
    Cheers, Frank Smith
  • My mug
    Fri, Dec 2, 2016, 3:04 AM
    Hi, Frank.

    I assume you mean things in labels. It would not be able to target the styles around the things you have there and I'm not sure if they would be logged, so my initial thought is that these could not be highlighted.

  • Picture of Frank Smith
    Fri, Dec 2, 2016, 9:44 PM
    Hi Michael,
    Yes, you're correct....I'm using labels with picture links to both websites and YouTube Videos.....a shame, but many thanks for your prompt reply
  • My mug
    Tue, Dec 6, 2016, 11:18 AM
    Hi, all.

    I've checked the latest version with Moodle 3.1 and 3.2.


  • Picture of Ziyad Muslat
    Wed, Dec 7, 2016, 12:43 AM
    Hi Michael,
    It is indeed a very useful block. I was wondering if you could also make it include resources as well. It would be very helpful for teachers and course designers in optimizing the course resources.
  • My mug
    Wed, Dec 7, 2016, 3:21 AM
    Hi, Ziyad.

    Resources are included in the Heatmap.
  • My mug
    Wed, Dec 7, 2016, 6:01 AM
    Hi, all.

    I've uploaded a new version that includes a fix for some of the colour issues.

  • Picture of Barrie Edmonds
    Fri, Dec 9, 2016, 4:34 PM
    Really useful block. I wonder would it be possible to add number of times an activity is completed to the view?
  • My mug
    Mon, Dec 12, 2016, 5:47 AM
    Hi, Barrie.

    I suppose that would be possible, but it would be a big effort to collect that information and I'm not sure how people would relate it to the heatmap idea.

    Can I suggest you check out one of my other plugins that shows Completion information for students in a concise way.

  • Picture of Yvan Urunuela
    Mon, Jul 3, 2017, 10:32 PM
    Thanks Michael. Really useful.
  • Picture of Matt Hope
    Thu, Mar 1, 2018, 11:21 PM
    Hi Michael,

    This looks like a great plugin.

    Do you think it could be combined with a resource/activity rating system? A combination of a heat map with a rating function would be extremely useful for teachers to make the most of their resources on Moodle.

  • My mug
    Fri, Mar 2, 2018, 7:11 AM
    Hi, Matt.

    I think there are some activity rating plugins already. I'm not too keen to combine that functionality into this plugin as it currently works simply without any config or user feedback.

  • Ricardo Caiado
    Sat, Mar 17, 2018, 11:38 PM

    Any update to Moodle 3.4?

  • My mug
    Sun, Apr 8, 2018, 11:38 AM
    Hi, Ricardo.

    I've just checked with 3.3 and 3.4 and it seems to work nicely still. I've added those versions to the most recent release.

1 2
Please login to post comments