viewerReady && space.addDataLayer({
id: 'hm',
type: 'heatmap',
style,
data: mappedSensorsData,
value: (d) => d.value,
color: smplr.Color.numericScale({
name: smplr.Color.NumericScale.RdYlGn,
domain: [400, 800],
invert: true,
}),
height: (v) => (v - 400) / 150,
confidenceRadius: 9,
gridSize: 0.6,
gridFill,
elevation,
});