Heatmap with header rows from a tree data structure using D3