# Export Vegalite Plot with Basic Interactivity

**URL:** https://discourse.julialang.org/t/export-vegalite-plot-with-basic-interactivity/30603
**Category:** Visualization
**Created:** [November 1, 2019, 7:16pm UTC](https://discourse.julialang.org/t/export-vegalite-plot-with-basic-interactivity/30603 "2019-11-01T19:16:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Usor](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@Usor](https://discourse.julialang.org/u/Usor)
#### Post date: [November 1, 2019, 7:16pm UTC](https://discourse.julialang.org/t/export-vegalite-plot-with-basic-interactivity/30603/1 "2019-11-01T19:16:06Z")

</div>

After having opened a Vegalite plot in a compatible window, without having written any interactivity code, there is basic interactivity in the form of hovering over a piece causing information to pop up. If you save this plot in some file format, this basic interactivity is not saved with it.

What is the most straightforward (and easiest) way to save the plot to a file with the basic interactivity intact?

Then, if possible, may it be opened with a mere browser?

---

<div class="post-metadata">

### Author: ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)
#### Post date: [November 2, 2019, 4:07pm UTC](https://discourse.julialang.org/t/export-vegalite-plot-with-basic-interactivity/30603/2 "2019-11-02T16:07:54Z")

</div>

I think your only option right now is to save it as a `*.vegalite` file. That can then be opened in JupyterLab and you should get interactivity.

We really should add an option to export as an HTML file. Could you maybe open an issue on the repo for that feature request?

---

<div class="post-metadata">

### Author: ![Usor](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@Usor](https://discourse.julialang.org/u/Usor)
#### Post date: [November 2, 2019, 4:16pm UTC](https://discourse.julialang.org/t/export-vegalite-plot-with-basic-interactivity/30603/3 "2019-11-02T16:16:26Z")

</div>

Thank you. I hope to do that at the earliest opportunity.

And thank you for the work, by the way.

Edit: I suddenly noticed the existence of this: [https://github.com/queryverse/VegaLite.jl/issues/184](https://github.com/queryverse/VegaLite.jl/issues/184)
