LaTeX Table Colorizer
By Gerry Chen
Options
Colorize/normalize by Column
Colorize/normalize by Row
Colorize/normalize by All
Scaling Function (x = (value - min) / (max - min)):
Linear (green=x)
Squared (green=x^2)
Cubed (green=x^3)
Custom
Custom Function (JavaScript):
Outlier Rejection Funciton (JavaScript):
Show Code
// function filterOutliers(data) { function isOutlier(value, data) { data.sort((a, b) => a - b); const q1 = data[Math.floor((data.length / 4))]; const q3 = data[Math.floor((data.length * (3 / 4)))]; const iqr = q3 - q1; const lowerBound = q1 - 3.0 * iqr; const upperBound = q3 + 3.0 * iqr; return value < lowerBound || value > upperBound; } let filtered = [...data]; do { data = [...filtered]; filtered = data.filter((x) => !isOutlier(x, data)); } while (filtered.length != data.length); return filtered; // }
Auto-format output latex
Input LaTeX Table (without \begin or \end)
Base DDPM (no dynamics) & 11.25\% & 49.77\% & 6.6 & 1506.8 && 116.4 & 0.57 \\ Baseline: Decoupled & 0.97\% & 5.27\% & 12.4 & 0.0 && 213.1 & 0.20 \\ Approach 1: Fine-Tuning & 0.57\% & 7.51\% & 12.4 & 3.0 && 148.3 & 0.35 \\ Approach 2: Controls & 0.00\% & 0.00\% & 6.0 & 0.0 && 215.0 & 0.08 \\ Approach 3: Guided & 2.25\% & 34.10\% & 10.7 & 143.8 && 301.0 & 0.00 \\ Approach 4: Classifier-Free & 0.44\% & 10.35\% & 13.8 & 1.9 && 168.1 & 0.31
Generate Colorized LaTeX Code
Configure Directions
Click the arrows to change the "sort" direction (↑higher is better / ↓lower is better / ☐ignore).
Select the check marks to toggle whether a row/column is ignored (don't color).
Colorized Output Table
Copy to Clipboard