The d3.transpose function from d3