I am working on a plot that displays investment data over a period of time, but it needs to display the hover data in GBP (British Pound) not dollar. Right now I am using
to format it as currency, with the decimal and $ sign. That part works great, I just need to change $ to £. I thought about using d3 formatting, but I am not familiar with how to implement that. Just changing the symbol in the code above did not work btw. Thanks for any suggestions.