The d3-array module contains functions and methods for obtaining information about data in arrays (statistics), searching, sorting, and transforming arrays. It also supports JavaScript's iterable collections and nesting/grouping. In this section, you will learn about most of the methods in this module and have the opportunity to try them out in simple code examples.
Manipulating arrays, collections, and objects
Searching and statistics
Unlike equivalent native JavaScript methods, most of the d3-array functions in the following table are optimized for data manipulation, since they ignore missing data (the exception is d3.quantile()). This means you don't have to preprocess the data to deal with undefined, null, and...