Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/leonardo
/ method
Function
method
docs/ui/src/js/utils.js:461–461 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
459
function
createColorData(color, mode) {
460
const
f = getChannelsAndFunction(mode);
461
const
method = (d) => d3[f.func](d);
462
463
let
dataA = color.map(
function
(d) {
464
let
channelValue = method(d)[f.c1];
Callers
1
createColorData
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected