D3.js | d3.cross() function
The d3.cross() function in D3.js is used to return the cartesian product of the given two arrays A and B. Syntax:d3.cross(Array1, Array2)Parameters:This function accepts two parameters which are mentioned above and described below: Array1: This is the first array whose elements are going to be perfo