Latency heatmaps in D3 and Highcharts

August 20th, 2013

See Brendan Gregg’s blog on how important and cool heatmaps can be for showing latency information and how average latency hides what is really going on:

Now if we want to create heatmap graphics, how can we do it? Two popular web methods for displaying graphics are Highcharts and D3. Two colleges of mine whipped up some quick examples in both Highcharts and D3 to show latency heatmaps and those two examples are shown below. The data in the charts is random just for the purposes of showing examples of these graphics in actions.

Highcharts Heatmap

see code at


D3 Heatmap

see code at

, ,

  1. Trackbacks

  2. No trackbacks yet.

  2. khailey
    | #1

    This is pretty cool

    What I like is the histogram at the end of the line
    and then it’s neet to be able to select part of the scatter and see how that selection stacks up in the histogram.

    I always find heat maps a bit difficult to read.

    It also could be a partial solution to combining hits in a bucket with time spent in that bucket. The heat map could represent one and the histogram could represent the other.

    The links to the interactive examples are at the bottom of the article

6 + = eight