Oh! Does this mean, I don't have to generate colors from strings in Python for multiple charts? What if number of charts are greater than 10? https://github.com/mbostock/d3/wiki/Ordinal-Scales I was not aware of this while I was doing it. Will check test with this.