Menu

Heatmap

In this tutorial, we’ll demonstrate how to draw a Heatmap in Glimpse to visualize the annual temperature patterns (in °C) in Seattle, WA.

First, add in the data by going Data > Sample Data > seattle-weather.csv from the top menu.

Then, under Visual > Mark in the Inspector panel, set the Mark type to Rectangle.

image1


Drag the field date into the X encoding. After, in the Inspector panel, change the Measure type to Temporal and under Visual > Encoding > Time Unit tick Date.

image2


Then, drag in again the date field into the Y encoding, convert the Measure type to Temporal, but under Time Unit, tick Month.

image3


The last field is temp_max, which needs to be dragged into the Color encoding.

image4


This concludes this tutorial on drawing a Heatmap. If you want to further customize your chart, please read the documentation.