x and y flipped to enhance readability of graph