# How do I put a plot in a Blink (electron) desktop application?

**URL:** https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404
**Category:** Web Stack
**Created:** [June 27, 2022, 1:47pm UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404 "2022-06-27T13:47:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![davidwallis](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@davidwallis](https://discourse.julialang.org/u/davidwallis)
#### Post date: [June 27, 2022, 1:47pm UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404/1 "2022-06-27T13:47:35Z")

</div>

Very basic question, but I’ve spent all afternoon looking for an answer. I want to make a cross-platform desktop application and I thought I’d try Blink.jl. I can run the example and create a hello world program appearing in a window. How do I make a plot in it?

---

<div class="post-metadata">

### Author: ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)
#### Post date: [June 29, 2022, 3:09am UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404/2 "2022-06-29T03:09:01Z")

</div>

If you use plotting code that generates SVG or PNG output, you should be able to display it by stuffing it into HTML blocks as is done in [ElectronDisplay](https://github.com/queryverse/ElectronDisplay.jl/blob/master/src/ElectronDisplay.jl)
