Skip to content

Function: normalizeHeatmapData()

normalizeHeatmapData(data, xKey?, yAxisKey?, valueKey?): NormalizedHeatmapData

Normalizes data specifically for heatmap charts. Expects data in format: { xKey: string, yAxisKey: string, valueKey: number }

ChartData

Raw data (Arrow Table or JSON array)

string

Field key for X-axis (columns)

string

Field key for Y-axis (rows)

string | string[]

Field key for the cell values

NormalizedHeatmapData