News for hackers. Stuff that matters.
Re:Show HN: Visprex – Open-source, in-browser data visualisa... by kengoa on Saturday November 09, 2024 @05:57PM (#42097449)
Thanks for trying it out! This is unfortunately not possible as of now and is one of th high-priority tasks to parse timestamps and datetimes, which is now incorrectly parsed as a string (Categorical). I'm using Papa Parse to load CSV data and I will likely need to add a custom parser on top of it.

Some of those plans are mentioned in my blog post reflecting on building this app: https://kengoa.github.io/software/2024/11/03/small-software....

Re:Show HN: Visprex – Open-source, in-browser data visualisa... by nerdponx on Saturday November 09, 2024 @06:33PM (#42097574)
You might also want to support a Unix timestamp as input, i.e. an integer or decimal number of (mili|micro|nano-)seconds since the Unix epoch. No need to worry about messy date parsing there.
Re:Show HN: Visprex – Open-source, in-browser data visualisa... by nyclounge on Saturday November 09, 2024 @07:19PM (#42097754)
Maybe use dayjs to handle all kinds of wired string dates.
Re:Show HN: Visprex – Open-source, in-browser data visualisa... by kengoa on Sunday November 10, 2024 @10:26AM (#42100685)
dayjs seems like exactly I was looking for, thanks for the suggestion! I might have tried to write a parser myself otherwise.