See the following sites for some variants of Hilbert's construction:
It was later shown that a wide variety of spaces can be completely filled up by continuous curves. A characterization of all such spaces was given by Hans Hahn (1879-1934) and by Stefan Mazurkiewicz (1888-1945):
Hahn-Mazurkiewicz Theorem A nonempty Hausdorff topological space can be completely filled up by a continuous curve if and only if the space is compact, connected, locally connected and metrizable.
Although at each finite stage of Hilbert's construction the curve obtained is an arc (ie. the curve doesn't cross itself), the limiting curve is not an arc: it has double points, triple points and quadruple points. It is easy to show that no arc can be a space-filling curve: there have to be uncountably many multiple points. It can also be shown that any square-filling curve has to have points of multiplicity at least three.
The space-filling curve shown above also is nowhere differentiable - if we write
Hilbert's curve in parametric form, x=f(t), y=g(t), then the graph of
y=f(x)looks like this:
