Live data from Hacker News

Show HN: A zoomable timeline of 4M Wikipedia events

app.everything.diena.co

41–49 of 49 posts

Re: Show HN: A zoomable timeline of 4M Wikipedia events

#42
post #41

It feels a little strange on macbook touchpad, otherwise it's a cool project

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

#43
post #38
post #32

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?

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.

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

#46
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

#47

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

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

#48
post #41

It feels a little strange on macbook touchpad, otherwise it's a cool project

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?

Hi, thanks you're right, I have tested mouse and mobile browsing but missed trackpad usage. I'll update the behavior !
Post reply on HN