[openstreetmap/openstreetmap-website] Change heatmap color to linear from 0 to max changes (PR #5833)

Marwin Hochfelsner notifications at github.com
Fri Mar 21 10:13:08 UTC 2025


@hlfan commented on this pull request.



> @@ -59,9 +60,10 @@ document.addEventListener("DOMContentLoaded", () => {
       },
       scale: {
         color: {
-          type: "threshold",
+          type: "linear",

It would be nice to have changes in fewer contributions me more visible than the same change in more contributions.
While I don't think the type `log` (or `symlog` for better zero mapping) is necessary, `sqrt` would still do that a bit.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5833#pullrequestreview-2705405488
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5833/review/2705405488 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250321/51804416/attachment.htm>


More information about the rails-dev mailing list