WikidataFacts created this task.
WikidataFacts added projects: Wikidata, Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added a project: Discovery.

TASK DESCRIPTION

If you only have two layers, the first layer is colored blue, and the second layer is colored light blue, because that’s the first two colors in d3.scale.category20(). That’s a pretty bad choice – the layers are hard to distinguish because they’re the just the same hue with a different lightness/saturation, and light blue is also hard to see against white landmasses (once you’re zoomed out far enough that streets etc. are no longer visible), and almost invisible against the ocean, which is also light blue.

I’m not sure what the best solution to this is; perhaps using d3.scale.category10() if there’s ≤ 10 layers?


TASK DETAIL
https://phabricator.wikimedia.org/T148022

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: WikidataFacts
Cc: Aklapper, WikidataFacts, mschwarzer, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to