formatLocale
formatLocale A set of default locale formatters used when assigning suffixes and currency in numbers.
Basic example
Section titled “Basic example”Number-formatting rules per locale: the thousands and decimal delimiters, digit grouping, currency affixes, and the suffixes formatAbbreviate appends (k, M, B, …). Pick a locale to see the entry and the same three numbers formatted with it.
import {formatLocale} from "@d3plus/locales";
formatLocale["en-US"];
Parameters
import {formatLocale} from "@d3plus/locales";