Map strings to a unique number between 0 and 1 (inclusive) as if they're base-26 positional notation numerals past the radix. Here illustrating by mapping to hues, which was my original use case. And then for fun you can click anyway to read, kind of, lol.
Σ numbered position in alphabet * number of letters in alphabet ^ position in string
https://d3js.org/d3.v4.min.js