3.0.0-alpha.3 • Published 7 months ago
@d3plus/locales v3.0.0-alpha.3
@d3plus/locales
International localizations for number, date, and UI labels.
Installing
If using npm, npm install @d3plus/locales. Otherwise, you can download the latest release from GitHub or load from a CDN.
import modules from "@d3plus/locales";In vanilla JavaScript, a d3plus global is exported from the pre-bundled version:
<script src="https://cdn.jsdelivr.net/npm/@d3plus/locales@3.0.0-alpha.3"></script>
<script>
console.log(d3plus);
</script>Examples
Live examples can be found on d3plus.org, which includes a collection of example visualizations using @d3plus/react.
API Reference
- formatLocale - A set of default locale formatters used when assigning suffixes and currency in numbers.
formatLocale <>
A set of default locale formatters used when assigning suffixes and currency in numbers.
This is a global namespace
3.0.0-alpha.3
7 months ago
3.0.0-alpha.2
10 months ago
3.0.0-alpha.1
10 months ago
3.0.0-alpha.0
10 months ago