Ohm's law, results in a straight line in a current-voltage diagram. The slope of the straight line corresponds to the electrical resistance $$R$$ of, for example, the piece of conductor.