javascript - What does d3.scale.ordinal() mean -
Can anyone explain what this block of code does:
colorScale = (Options.colors)? D3.scale.ordinal () Range (options.colors.map (function (d) {returns (is.Number (d))? ToHexColor (d): d;})): d3.scale.category20 ();
Comments
Post a Comment