本地化

  • d3.locale - create a new locale using the specified strings.
  • locale.numberFormat - create a new number formatter.
  • locale.timeFormat - create a new time formatter / parser.