+ Reply to Thread
Results 1 to 16 of 16

Heat map

  1. #1
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Heat map

    Does anybody have a clue how to create a heat map as per this page?
    http://how.best-free-information.com...-map-in-excel/

    I specifically need to represent 3 things on the same chart: time of the day/day of the week/usage. But once I have the system i can apply it to anything really.

    I also need something that looks a bit stylish not just colored cells using conditional formatting.

    I guess I need a plug-in, but even looking in google I can't find anything good.
    Any advice?

    Thanks!
    rs232
    Last edited by rs232; 01-05-2010 at 07:48 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    That heat map is a surface chart.

    You need a matrix of data with, for example

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    I see.... thanks I completely missed the surface chart :-)

    So, let me understand your answer: let's say I have 6 month worth of data and I'd like to create a heat map that looks like:

    Please Login or Register  to view this content.
    I can get the values I need out of my SQL query filling in a single value per "cell". Is it all I need?

    Thanks again!

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    Yes the data layout would be almost the same as the surface map layout except the first row would be the Day labels and the first column the Timeslots.

    One thing to keep in mind is that the x and y axes of these type of charts are categorical. So as long as you have equi spacing values you will be alright.

    If you have 24 time slots and 5 days the plot will be skinny!

  5. #5
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    Great thanks!
    I though about it being skinny but I think I'm going to play with the chart setting to "expand" the space taken by the weekdays.

    I'll give ti a go and let you know.

    Thanks!!

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    There are no setting to expand the axis.

  7. #7
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    Hum... I need to work out a solution here, possibly just reduce the data points to business hours (8:00 to 17:00) would help.
    Any ways heatmap is done and looks beautiful :-)
    Just another thing, can I manually change the colors?
    Blue - yellow -red would be my personal preference for low - mid -high as per the link I posted above...

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    To change the colours use the Legend.

    Select a legend entry and CTRL+1 to display Format dialog.
    The scale tab will allow you to change the banding.

  9. #9
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    Thanks very helpful!

  10. #10
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    just another question:
    is there any way to define the number of divisions (colours)?
    By default I get 4 (0-10, 10-20, 20-30, 30-40) as the max value I have is 38ish.
    I've seen charts around with 10-12 colours....
    If I add some dummy value e.g. 200 here and there it still use 4 colours but it divides by 0-50 ,50-100, 100-150, 150-200

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    As I said previously the bands are controls by the Major Unit value of the Z axis.

    If you format a legend entry you should see the Scale tab on the format dialog.

  12. #12
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    I'm sure it's me but I'm not able to find the Z axis parameter...

    I did find the way to scale the chart though (as I have only 5 week days)!
    It's the paramenter "Depth (% of base)" under 3-D rotation/3-D rotation
    Now the chart doesn't look too slim.
    Attached Images Attached Images
    Last edited by rs232; 01-05-2010 at 09:25 AM.

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    I can't tell much from a picture.

    See attached, which includes a screen shot of the format dialog.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    I admit I feel a bit stupid asking this question, but how do you get to the format legend window?
    If I right click on the legend and select "format legend..." I get the windows as per the image in attachment
    Attached Images Attached Images

  15. #15
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Heat map

    Ah, you need to let us know you are using xl2007 to start with

    Select the chart
    Chart Tools > Layout > Current Selection

    from the dropdown list pick Vertical (Value) Axis
    Format Selection

  16. #16
    Registered User
    Join Date
    02-20-2007
    Posts
    45

    Re: Heat map

    lol even with your instruction on screen it took me 2 minutes to find the right menu. It's so differen from excel 2003!
    Any ways: success!
    This post deserves a double [SOLVED] he he.

    Thanks again!
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1