How to set D3 locale currency format (€) in charts?

Hello !
I'm trying to change the currency symbol in my heatmap chart's data labels from $ to €. My current format is %{z:$.2f}. Where's the best place to configure d3.formatLocale in a Retool app to apply the Euro format?

Code I'm trying to adapt from D3 docs:

const locale = d3.formatLocale({
  currency: ["€", ""]
});

Has anyone successfully implemented this? Any guidance on where to put this configuration would be helpful.

Thanks for your help!

Hi @bqst,

I think you can just prefix a in front of the d3 format (and remove the $ from the current formatting) :crossed_fingers:

Tentatively marking this as a solution, but keep me posted if that isn't sufficient & I'll make a feature request!