Often when summing up tables, we really just need to round up the number to two decimal places. Similarly, for financials, a prefix of $ or € may be desirable.
This PR allows the user to provide their own d3 formatter via the fmt parameter. If not provided, the default formatter is applied.
Often when summing up tables, we really just need to round up the number to two decimal places. Similarly, for financials, a prefix of $ or € may be desirable.
This PR allows the user to provide their own d3 formatter via the
fmt
parameter. If not provided, the default formatter is applied./cc @mdeadman @deniszgonjanin