nl_tokens: Private Functions
pl_tokens: function toNewName ( scale ) { // d3 scale changed the naming scheme for scale from "linear" -> "scaleLinear" etc. const capitalize = ( s ) => s && s [ 0 ] . toUpperCase ( ) + s . slice ( 1 ) ; return ` ${ capitalize ( <mask> ) } ` ; }