better colors (?)

This commit is contained in:
Jakob Ketterl 2019-07-28 22:13:55 +02:00
parent e40b400f6f
commit 8f7f34c190

View File

@ -32,7 +32,7 @@
var fillOpacity = 0.35;
var colorKeys = {};
var colorScale = chroma.bezier(['red', 'blue', 'green']).scale();
var colorScale = chroma.scale(['red', 'blue', 'green']).mode('hsl');
var getColor = function(id){
if (!id) return "#000000";
if (!colorKeys[id]) {