How to format pie chart values with a dot separator for thousands and comma for decimal?

How can I display the pie chart values in the below format:
12345678 ā†’ 12.345.678

Hi @dataturnsmeon the format is based on d3-format

This post is quite helpful // EDITED: for dates//:

That post mentions only about date formatting and nothing about number formatting.

True, sorry for that. The d-3 formatting should work however.