Inspired by a classic XKCD cartoon, the infographic above shows the year of publication and of setting for several novels, plays, and films.
They fall into four groups. The top (white) section is literature set in our future. The upper grey section contains obsolete predictions – literature (like the book 1984) set in the future when it was written, but now set in our past. The centre grey section contains what XKCD calls “former period pieces” – literature (like Shakespeare’s Richard III) set in the past, but written closer to the setting than to our day. He points out that modern audiences may not realise “which parts were supposed to sound old.” The lower grey section contains literature (like Ivanhoe) set in the more distant past.