You could add unit
as a property on the data objects and then pass d.unit
into format
along with d.value
.
You can't do anything too elaborate with the default <title>
tooltip but there are a million jQuery plugins for doing more elaborate things with tooltips