At the threshold of black hole formation in the gravitational collapse of a scalar field a naked singularity is formed through a universal critical solution that is discretely self-similar. We study the global spacetime structure of this solution. It is spherically symmetric, discretely self-similar, regular at the center to the past of the singularity, and regular at the past light cone of the singularity. At the future light cone of the singularity, which is also a Cauchy horizon, the curvature is finite and continuous but not differentiable. To the future of the Cauchy horizon the solution is not unique, but depends on a free function (the null data coming out of the naked singularity). There is a unique continuation with a regular cente...