Let say I have to show the difference between two values then what will be the best to show the values horizontally or vertically.
Edit: I need to know in which graph it would be easier to compare the distance between two dots.
Let say I have to show the difference between two values then what will be the best to show the values horizontally or vertically.
Edit: I need to know in which graph it would be easier to compare the distance between two dots.
We scan the pages left to right, so jumping quickly from two specific pairs of dots will be much easier on option A than option B.
But please do your users a favor and connect the dots in some way. If all that they do is compare the distances in individual pairs, just connect the top dots with the bottom dot, instead of forcing their brain to imagine the line.
If the overall trend is also important (or more important), then draw lines connecting dots of the same type.
You can also do both, with or without filling the area between the top and bottom line.
This will have a much greater effect than horizontal vs vertical layout.
Without some sort of context, I doubt you'll get an entirely useful answer...
That said, when stats are being compared on webpages using graphs (especially when comparing more than just two things), vertically presented horizontal bar graphs seem to work well and be most popular.
As a semi-random example: http://www.cpubenchmark.net/common_cpus.html
Imagine all that info arranged with vertical bars, listed across the page horizontally...