This question is inspired by How kinky can a Jordan curve get?

What is the least upper bound for the Hausdorff dimension of the graph of a real-valued, continuous function on an interval? Is the least upper bound attained by some function?

It may be noted that the area (2-dimensional Hausdorff measure) of a function graph is zero. However, this does not rule out the possible existence of a function graph of dimension two.

continuousfunctions in mind, as indicated in the second paragraph. – Harald Hanche-Olsen Mar 25 at 12:59