# Interactive line plots in documentation

**URL:** https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537
**Category:** Visualization
**Tags:** question, plotting
**Created:** [February 9, 2026, 10:30am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537 "2026-02-09T10:30:28Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)
#### Post date: [February 9, 2026, 10:30am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/1 "2026-02-09T10:30:28Z")

</div>

What are options for embedding interactive line plots in a Documenter.jl page?  
I think it has to be some kind of JS.

- Export HTML with Bokeh.jl and embed it via an iframe. `Bokeh.doc_standalone_html`
- Export HTML with PlotlyJS.jl and embed it via an iframe.
- With WGLMakie.jl and Bonito.jl. This example shows how to export to plotly, gadfly and WGLMakie: [Plotting · Bonito](https://simondanisch.github.io/Bonito.jl/stable/plotting.html)

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [February 9, 2026, 10:42am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/2 "2026-02-09T10:42:35Z")

</div>

> - Can this be done with [WGLMakie.jl](https://juliaregistries.github.io/General/packages/redirect_to_repo/WGLMakie)? This example suggests that in the end it is PlotlyJS anyway: [Plotting · Bonito](https://simondanisch.github.io/Bonito.jl/stable/plotting.html)

How is that example suggesting its PlotlyJS?  
It shows a Plotly, Gadfly and WGLMakie plot (the surface plot).

---

<div class="post-metadata">

### Author: ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)
#### Post date: [February 9, 2026, 12:18pm UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/3 "2026-02-09T12:18:55Z")

</div>

Ah sry, my bad. Only noticed Plotly and assumed all are. I updated my original post.

---

<div class="post-metadata">

### Author: ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)
#### Post date: [February 9, 2026, 12:23pm UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/4 "2026-02-09T12:23:41Z")

</div>

Is the WGLMakie.jl output static though? Here [WGLMakie | Makie](https://docs.makie.org/dev/explanations/backends/wglmakie#Page) it states

> As you can see, the output is completely static, because we don’t have a running Julia server, as would be the case with e.g. Pluto. To make the plot interactive, we will need to write more parts of WGLMakie in JS, which is an ongoing effort. As you can see, the interactivity already keeps working for 3D.

Are there any news on lines and scatter plots?

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [February 9, 2026, 12:29pm UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/5 "2026-02-09T12:29:57Z")

</div>

> Is the [WGLMakie.jl](https://juliaregistries.github.io/General/packages/redirect_to_repo/WGLMakie) output static though?

> [@ohmsweetohm1](#):
>
> As you can see, the interactivity already keeps working for 3D.

Its 3D, so no its not completely static 😉 Nothing much has changed yet for 2D plots.

---

<div class="post-metadata">

### Author: ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)
#### Post date: [February 11, 2026, 12:07am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/6 "2026-02-11T00:07:33Z")

</div>

Would MakieBake.jl provide enough interactivity for you?

---

<div class="post-metadata">

### Author: ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)
#### Post date: [February 11, 2026, 5:52am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/7 "2026-02-11T05:52:56Z")

</div>

If I can pan and zoom, yes.

---

<div class="post-metadata">

### Author: ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)
#### Post date: [February 11, 2026, 6:08am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/8 "2026-02-11T06:08:16Z")

</div>

I think you could do that, but you would have to provide your own pan and zoom sliders and associated logic.

---

<div class="post-metadata">

### Author: ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)
#### Post date: [February 11, 2026, 6:24am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/9 "2026-02-11T06:24:53Z")

</div>

Then it is not interactive in my view.

---

<div class="post-metadata">

### Author: ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)
#### Post date: [April 1, 2026, 5:15am UTC](https://discourse.julialang.org/t/interactive-line-plots-in-documentation/135537/10 "2026-04-01T05:15:16Z")

</div>

PlotlyJS.jl can automatically embed any plotly object inside Documenter - you can see examples in the docs but I can also describe the process.
