May 2019
Beginner to intermediate
650 pages
14h 50m
English
Most of the d3-array functions that are listed in the following table are used to create new arrays by transforming or extracting data from one or more existing arrays. All except shuffle() return new arrays:
|
Function |
Description |
|
d3.merge(arrayOfArrays) |
Merges a provided array of arrays into a single array. This method can be used to flatten bi-dimensional arrays. It is similar to the JavaScript concat() method, but requires an array. |
|
d3.permute(array, indexes) |
Returns a new array containing the elements of the provided array according to an array of indexes that's provided as a second argument. |
|
d3.permute(object, keys) |
Returns an array containing the values of the provided object according to an ... |
Read now
Unlock full access