News for hackers. Stuff that matters.

Show HN: A zoomable timeline of 4M Wikipedia events

https://app.everything.diena.co/

I'm building a journal app in Kotlin Multiplatform and for this purpose I have created a zoomable timeline interface.

This is a side-project where I reuse the timeline interface to display 4 million events imported from Wikipedia / Wikidata, scored using PageRank. There is more information on the about page.

If you're interested in the stack: I use Kotlin Multiplatform extensively, with Compose Multiplatform for the UI, communicates with the backend using Kotlinx-RPC and behind the hood a simple Postgres database on a Hetzner machine.

( 43 comments | 12 points | on HN )
Re:Show HN: A zoomable timeline of 4M Wikipedia events by Arslan1997 on Friday July 17, 2026 @04:16PM (#48951817)
This is awesome
Re:Show HN: A zoomable timeline of 4M Wikipedia events by Jtarii on Friday July 17, 2026 @03:46PM (#48951525)
Instantly freezes the moment I try to interact with it on firefox.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Friday July 17, 2026 @04:05PM (#48951721)
Hi, thank you for giving it a try ! I test both on Firefox (152) and Chrome, mobile and desktop. If you don't mind please send me ([email protected]) the error message that appears in the console.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by HikesALot on Friday July 17, 2026 @05:25PM (#48952455)
works for me on Firefox 152. Lots of fun!
Re:Show HN: A zoomable timeline of 4M Wikipedia events by 0gs on Friday July 17, 2026 @03:50PM (#48951571)
yeah, borked on Chrome Android too. too bad, i want to see it!
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Friday July 17, 2026 @04:08PM (#48951746)
Hi, I'm sorry for that, my backend is struggling a bit I didn't expect to be on the front page so soon. On https://www.diena.co/everything/ there is a page with a video if you want to see how it looks and behaves.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by ss2f on Friday July 17, 2026 @04:35PM (#48952000)
Fantastic! Testing this on linux-gnome-firefox is smooth.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by darkstarsys on Friday July 17, 2026 @04:40PM (#48952044)
See also my log-scale timeline of the universe — hand-curated rather than a giant import, and I hope also a bit nicer/simpler UI: https://deep-timeline.org
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Friday July 17, 2026 @04:53PM (#48952191)
Thank you for sharing your project, it must have been quite some work to curate the events. My plan is to at some point be able to implement various filters so that people can make usable timelines. Right now it's more of a tech demo.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by stvltvs on Friday July 17, 2026 @04:45PM (#48952112)
Nice! I can't help thinking it would be informative to see it on a linear scale. Vast, unfathomable stretches of time before humans come on the scene, and then human history is a blip at the end.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by popalchemist on Friday July 17, 2026 @06:35PM (#48952933)
This is well done. How did you source and categorize the data points?
Re:Show HN: A zoomable timeline of 4M Wikipedia events by maxlin on Friday July 17, 2026 @04:42PM (#48952073)
Cool, though I assume there's some accuracy shortfalls, when not close to zero the UI breaks when years are ~1 pixel in size.

Probably doesn't matter for much of the content, though immediately comes to mind that for after big bang there is "known events" that happened at second-scale. Don't know if there's exact Wikipeida articles of those, but with an appropriately accurate timestamp storage & handling (128bit? more?), one could well zoom in to those if they did exist.

Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Friday July 17, 2026 @04:51PM (#48952169)
Yes indeed, I'll fix them at some point ! For in-between events it doesn't really matter to be able to zoom in, but it'd be great to explore the birth of the universe on this timeline. Storage wise it's already supporting such precision, but the UI (which was made for the 1900-2100 range initially) still has issues.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by maxlin on Friday July 17, 2026 @04:49PM (#48952150)
An arbitrary data error I found is that https://en.wikipedia.org/wiki/Jekadefari is shown on the year 760251. That number is obviously wrong, it instead appears to be the postcode of the place.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Friday July 17, 2026 @04:57PM (#48952235)
Wikidata is the source I used to get metadata about Wikipedia articles. Sometimes the data is automatically extracted from Wikipedia articles which introduces these errors. What's nice is that the timeline representation easily shows these outliers and will help us fix them !
Re:Show HN: A zoomable timeline of 4M Wikipedia events by jcbe on Saturday July 18, 2026 @12:01AM (#48955099)
+1, I noticed and fixed a few erroneous dates that would have presumably been difficult to surface otherwise
Re:Show HN: A zoomable timeline of 4M Wikipedia events by GMoromisato on Saturday July 18, 2026 @12:19AM (#48955186)
The problem is that there's no guarantee that extraction errors will always end up as outliers. Instead, outliers are merely the errors that are easiest to find.

<Insert bullet-ridden bomber image here>

Re:Show HN: A zoomable timeline of 4M Wikipedia events by hobofan on Friday July 17, 2026 @06:51PM (#48953058)
Almost everything further than a few years in the future and a few predicted pangea events appear to be data errors.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by maeril on Friday July 17, 2026 @05:07PM (#48952321)
This is so cooooool
Re:Show HN: A zoomable timeline of 4M Wikipedia events by UltraSane on Friday July 17, 2026 @05:52PM (#48952634)
Very nice, I would like a similar tool for analyzing system logs and metrics.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by Frog1230 on Friday July 17, 2026 @05:53PM (#48952649)
Works, its cool to look at but might there be a use case?
Re:Show HN: A zoomable timeline of 4M Wikipedia events by The_Blade on Friday July 17, 2026 @07:22PM (#48953372)
is having fun learning no longer a valid use case
Re:Show HN: A zoomable timeline of 4M Wikipedia events by ks2048 on Friday July 17, 2026 @06:18PM (#48952825)
You need some visual feedback that it's loading. I see a blank screen for 30 seconds.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by Unearned5161 on Friday July 17, 2026 @06:28PM (#48952887)
Thank you for making this, it's very nice. I love a good timeline, everything seems to make a bit more sense when it's laid out spatially.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by kingo55 on Friday July 17, 2026 @08:12PM (#48953765)
Events in the future are labelled in past tense. Rather than "happened in 4.5B" you could write "forecast in 4.5B"
Re:Show HN: A zoomable timeline of 4M Wikipedia events by soupspaces on Saturday July 18, 2026 @03:42AM (#48956008)
Oh yeah and it doesn't even account for time dilation 5/7
Re:Show HN: A zoomable timeline of 4M Wikipedia events by UnfitFootprint on Friday July 17, 2026 @10:24PM (#48954583)
Really fun! Worked like a dream on iOS safari
Re:Show HN: A zoomable timeline of 4M Wikipedia events by p0wn on Friday July 17, 2026 @11:17PM (#48954863)
Very cool
Re:Show HN: A zoomable timeline of 4M Wikipedia events by aayushdutt on Friday July 17, 2026 @11:33PM (#48954957)
Can you share the data, the view can be improved a lot, it's not really capturing the essence.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by TealMyEal on Friday July 17, 2026 @11:45PM (#48955016)
its a very promising idea, i recently god into the Bronze age collapse and this was a nice way to look around at other events happening at that time and put context to it. a few bugs to iron out but yeah good work
Re:Show HN: A zoomable timeline of 4M Wikipedia events by keynha on Saturday July 18, 2026 @12:34AM (#48955248)
This is really nicely done, the log zoom makes 4M events feel navigable instead of like a wall. How are you serving a viewport at that scale: precomputed levels of detail, or a query against the raw events on each pan and zoom?
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Saturday July 18, 2026 @05:36AM (#48956527)
Thank you ! It's indeed precomputed levels of detail, the backend serves a key-value store: for each bucket a top 10 events that start or end in this bucket. A bucket is described by its zoom level (from 1 day to 2^34 days) and time coordinates.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by keynha on Saturday July 18, 2026 @03:19PM (#48961314)
Makes sense, thanks. The fixed 10-per-bucket cap is what keeps every viewport the same size no matter the zoom, that's the elegant bit.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by tweetle_beetle on Saturday July 18, 2026 @04:31AM (#48956223)
Not sure the page rank style algorithm is that useful from my limited browsing. Apparently https://en.wikipedia.org/wiki/Kellie%27s_Castle is the most significant entry in human history.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Saturday July 18, 2026 @05:29AM (#48956500)
It is quite strange indeed, it's probably a bug in the visualization because in my database I see that Kellie's Castle has a low rank.
Re:Show HN: A zoomable timeline of 4M Wikipedia events by tomthe on Saturday July 18, 2026 @05:38AM (#48956539)
Cool! I made something similar with the same datasets a year ago, but with geocoordinates instead of timestamps: https://theilemail.de/wikipage/ It shows a zoomable map with the "most important" wikipedia entries at specific locations.

It was very hard to get the parameters right so that the text is always displayed in a good size, while showing not too few or too many entries. I never published it until now, I think.

Re:Show HN: A zoomable timeline of 4M Wikipedia events by Morhaus on Saturday July 18, 2026 @06:45AM (#48956800)
Congrats on shipping :)
Re:Show HN: A zoomable timeline of 4M Wikipedia events by est on Saturday July 18, 2026 @06:46AM (#48956807)
It feels a little strange on macbook touchpad, otherwise it's a cool project
Re:Show HN: A zoomable timeline of 4M Wikipedia events by willtemperley on Saturday July 18, 2026 @07:30AM (#48957063)
Also on a macbook, it took me a while to realise pinch to zoom doesn't do anything except zoom the page, pan is click and drag, and scroll is zoom. Cool project except for the controls, surely scroll should be to scroll up and down?
Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Sunday July 19, 2026 @02:33PM (#48970592)
Hi, thanks you're right, I have tested mouse and mobile browsing but missed trackpad usage. I'll update the behavior !
Re:Show HN: A zoomable timeline of 4M Wikipedia events by welcome_dragon on Sunday July 19, 2026 @12:40PM (#48969598)
I think you need to check these. I saw one item (a bank maybe?) that was started on "20141221" or something. Didn't get parsed so it is treated as the year 20241221, not 2024.

So many examples of this right off the bat. This needs some serious work/testing.

If you're going to use an LLM to code something, it is your responsibility to own, maintain, test, and understand that code

Re:Show HN: A zoomable timeline of 4M Wikipedia events by lortex on Sunday July 19, 2026 @02:28PM (#48970550)
Hi, to be clear, this project is a view of the Wikidata knowledge graph. Some parts of Wikidata come from automatic extraction of Wikipedia articles and other sources, which I am not responsible of. For each event there is a link to Wikipedia and a link to Wikidata, the latter can be used to fix mistakes. I will import an updated dataset at some point.

Happy to integrate feedback on the UI part of this project, as I've started doing thanks to some of the other HN comments. I can assure you that this code was written by my hands, line by line, and that each bug is my own !

Re:Show HN: A zoomable timeline of 4M Wikipedia events by mrsalty on Sunday July 19, 2026 @04:27PM (#48971426)
Really nice! I always had in mind to build something similar but on the geographical axes: given a long/lat param show all historical events related in the surrounding area.