Suppose $f:\mathbb{R}\to\mathbb{R}$ is Borel. Let $\text{dim}_{\text{H}}(\cdot)$ be the Hausdorff dimension, and $\mathcal{H}^{\text{dim}_{\text{H}}(\cdot)}(\cdot)$ be the Hausdorff measure in its dimension on the Borel $\sigma$-algebra.
Question: If $G$ is the graph of $f$, is there an explicit $f$ such that:
- The function $f$ is everywhere surjective (i.e., $f[(a,b)]=\mathbb{R}$ for all non-empty open intervals $(a,b)$)
- $\mathcal{H}^{\text{dim}_{\text{H}}(G)}(G)=0$
Note, not all everywhere surjective $f$ satisfy 2. of the question. For example, consider the Conway base-13 function. Since it's zero almost everywhere, $\text{dim}_{\text{H}}(G)=1$, and $\mathcal{H}^{\text{dim}_{\text{H}}(G)}(G)=+\infty$.
Optional: If such an $f$ exists, does $f$ have other interesting properties?