Open Svintooo opened 9 months ago
The same happens to me. It gets worse when you drill down the folder because they become all the same color. The color palette should be recalculated giving more contrast to the folders, using a fixed color palette for the entire graph should do the job.
Maybe here instead of using d3.quantize(d3.interpolateRainbow, colorCounter + 2)
, you could use something like d3.quantize(d3.interpolateRainbow, colorCounter % 7)
, since the d3.interpolateRainbow is repetitive it could help improving the contrast even for a large number of files.
Sometimes the colors used makes it really hard for me to distinguish the separate folders in the chart.