3 ms·
A practical application is pie charts, apologies for the XSLT: * https://repo.autonoma.ca/repo/delibero/blob/HEAD/source/xsl/colour.xsl https://repo.autonoma.c
by thangalin 7mo ago
A practical application is pie charts, apologies for the XSLT:
* https://repo.autonoma.ca/repo/delibero/blob/HEAD/source/xsl/colour.xsl https://repo.autonoma.ca/repo/delibero/blob/HEAD/source/xsl/...
* https://repo.autonoma.ca/repo/delibero/blob/HEAD/source/xsl/chart.xsl https://repo.autonoma.ca/repo/delibero/blob/HEAD/source/xsl/...
An example pie chart is on page 33, section 9.2.3:
* https://repo.autonoma.ca/repo/delibero/raw/HEAD/docs/manual/manual.pdf https://repo.autonoma.ca/repo/delibero/raw/HEAD/docs/manual/...
* https://i.ibb.co/ymDLcPNj/pie-chart.png https://i.ibb.co/ymDLcPNj/pie-chart.png (screenshot)
The colours are harmonious, visually distinct, and not hard-coded to a fixed number of slices.
- seanwilson 7mo agoThe colors are all roughly the same lightness? If so, for people with color deficiency, you want the lightnesses to vary because people that can't easily tell certain hues apart should still be able to tell different lightnesses apart (although, if you need a color for lots of different pie slices, the lightnesses you can pick will start getting too close together and you might have to resort to patterns).