Visualising datasets on static webpage with DOI

Hi All,

I am relatively new to Julia, but I know enough to use Makie.jl to visualise relatively complex datasets. For the first time I am considering making a webpage to offer the readers of an upcoming paper of mine the possibility to explore interactively some datasets.

I am writing to ask about the feasibility of what I have in mind, as well as some potential advice.

In previous papers (still not using Julia) I link to an external animation using FigShare, as you can see, for instance, in Figure 1.1 of this paper and this is OK for final publication, because the webpage hosting the animation has a DOI, which is good for reproducibility.

Now I would like to do something similar, but with a static webpage. As an example, we can consider this visualisation. Let us assume that I want to visualise the slices and sliders, but reading some datasets rather than using the cosine function.

To me it would make sense to embark writing this webpage, and learn Bonito/Webgl provided:

  1. The webpage was hosted with a DOI. I routinely use GitHub and Zenodo, the latter providing a DOI
  2. The dataset lived somehow ‘together with the webpage, on the webpage’, or somewhere clearly linked to it, with the same DOI.
  3. I could easily push changes, and a new dataset, and track versions.

I should add that I dislike notebooks, and my workflow is entirely editor-based, but I would go through that hassle as well, if that was strictly necessary

Do you have any thoughts or advice on how to go about it? Is there a good platform to do that? Perhaps some of you have already done something similar? Can I use GitHub for this? Any thoughts on this would be helpful.

I wrote a small tutorial to create a static webpage that can display interactive makie plots here: Creating Interactive Blog Posts with WGLMakie.jl | Charged by Numbers

It’s a bit of a hack but it works well.

Another option could be to just display your plots using Documenter.jl, that’s very easy to setup. You won’t have interactive plots that way though.

1 Like

Thank you, this is helpful already!