Let $X$ be a metric space and $f\colon X \rightarrow \mathbb R$ be a continuous function. Let $G = \{ (x , f(x) ) : x \in X \}$ be the graph of $f$. Then which one is true?
$G$ is homeomorphic to $X$
$G$ is homeomorphic to $\mathbb R$
$G$ is homeomorphic to $X \times \mathbb R$
$G$ is homeomorphic to $\mathbb R \times X$
Please help me how to solve this problem.
Thank you