- type: "threshold",
- range: currentTheme === "dark" ? rangeColors : Array.from(rangeColors).reverse(),
- domain: [10, 20, 30, 40]
+ type: "sqrt",
+ range: currentTheme === "dark" ? rangeColorsDark : rangeColorsLight,
+ domain: [0, Math.max(0, ...heatmapData.map(d => d.total_changes))]