Fix download was broken
Flipped rows/columns in graph generation