jakezatecky/d3-funnel

Get formatted label inside format function

Closed this issue · 1 comments

How to get a formatted label inside label.format function.

function(label, value) //formatted label

This is a 6-month late reply, but the function does not provide the default formatted label. The default formatted label is the following:

const defaultFormattedLabel = `${label}: ${value.toLocaleString()}`;

Please reopen if you need further clarification or help.