score:1

Accepted answer

It seems that you haven't actually formatted to two decimal places as you require.

Try changing your format call to include the number of digits like so:

...d3.format(".2s")(d.value) ...

Related Query

More Query from same tag