May 2019
Beginner to intermediate
650 pages
14h 50m
English
The d3-format module creates string representations of numbers. Its main function is d3.format(), which returns a function that can be used to format numbers. Other functions configure locales and provide additional configuration.
The main functions are listed as follows:
|
Function or method |
Description |
|
d3.format(specifier) |
Creates a formatting function that formats a number according to the provided specifier template and default locale. |
|
d3.formatLocale(definition) |
Returns a locale object for the specified locale definition object. The object must include the properties decimal, thousands, grouping, and currency, respectively, contain a decimal point, grouping separator, grouping size, and a currency symbol ... |
Read now
Unlock full access