Skip to content

Heatmaps plus - #3427

Open
fakemonster wants to merge 5 commits into
mainfrom
heatmaps-plus
Open

fakemonster wants to merge 5 commits into
mainfrom
heatmaps-plus

Conversation

@fakemonster

@fakemonster fakemonster commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

This change adds color scaling controls, motivated by some in-house feedback as well as a great blog entry from Dave on the benefits of ranked coloring in particular.

This expands out to a wider introduction of a settings button for the page, because "Drop first data point" was esoteric enough; the coloring scheme, in my opinion, should not be a concern for a first-time viewer, and potentially never a concern. Plus, pushing it off to a popover gives us some wiggle room to really be descriptive for users who do want to weigh their options when picking a color scheme.

color-scaling.mp4

This is naive at the moment. It only shows based on whether the first
table is a set of heatmaps, and it also just inlines the radio for
picking your strategy.
This is the bulk of the work here. It involves extracting these
rendering settings to a less-in-the-way popover, along with some
explanations of how color scaling works. The happy path experience (in
my opinion) is to look at these settings at most once, but if you see
them and they don't make sense, that just stinks! So the fair trade for
information density is to keep it out of the way, since our defaults
probably serve the vast majority of purposes, at least for now.
The previous one was more a convenience function _using_ a log, rather
than actually spacing out logarithmically. A real function has to have a
carveout for max counts <= 1.
@vercel

vercel Bot commented Oct 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Oct 27, 2026 6:58pm UTC

Request Review

@david-crespo

Copy link
Copy Markdown
Collaborator

I've seen the 🔥🔥🔥 screenshot but can we get one in the PR description for posterity?

@fakemonster

fakemonster commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

yeah, i'll put one in with real data

This branch was successfully deployed

1 active deployment
Preview — 6226609b Deployed Oct 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants