LucasWerkmeister created this task.
Herald added subscribers: Zppix, Aklapper.
Herald added a project: Discovery.

TASK DESCRIPTION
  Currently, the Bubble View on WDQS always automatically chooses the color 
based on the node name (out of the 20-color scale `d3.scale.category20c` 
<https://github.com/d3/d3/wiki/Ordinal-Scales#category20c>). We could also use 
one of the result columns to let the query author explicitly specify the color 
of a bubble.
  
  I have a patch for this that uses the color from the `?rgb` column (if 
present) as RGB color, which I’m about to upload to Gerrit, but I figure that 
the discussion of this feature belongs here and not on code review.
  
  Note that this feature is not limited to items that have some color 
statement; with `BIND` forms, you can also explicitly color-code arbitrary 
results.
  
  Example queries: political parties with membership and color 
<https://gist.github.com/lucaswerkmeister/254f3c5f5480f35d542b2234997e0dc8>, 
countries with population color-coded by continent 
<https://gist.github.com/lucaswerkmeister/b50942a8ab0f54c1a07beff15275bd15>

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

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

To: LucasWerkmeister
Cc: Aklapper, Zppix, LucasWerkmeister, Avner, debt, Gehel, D3r1ck01, FloNight, 
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