Inverse line plot [Y->X]

I’m trying to make a plot like this:

image (horizontal line is not mandatory)

and I have those data (that are the result of a query to InfluxDB that give back only the last available value for each field) that represent the 16 values of x that should be placed on equally spaced distance in the y-axis (16 to 1 or something like: [(offset - spacing * i) for i in range(1,17)]).

Any clue?