MCPcopy
hub / github.com/getredash/redash / format

Function format

viz-lib/src/visualizations/sankey/initSankey.ts:182–182  ·  view source on GitHub ↗
(d: DType)

Source from the content-addressed store, hash-verified

180 data = graph(data.rows);
181 // @ts-expect-error
182 const format = (d: DType) => d3.format(",.0f")(d); // TODO: editor option ?
183
184 return (element: HTMLDivElement) => {
185 d3.select(element)

Callers 6

initSankeyFunction · 0.85
prepareDataFunction · 0.85
prepareDataFunction · 0.85
prepareDataFunction · 0.85
prepareDataFunction · 0.85
RendererFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected