Think of the original line in 3 segments. Replace those 3 segments with 4 segments, as shown in the second curve. Repeat.
The dimension of this curve: log4 / log 3.