# VegaLite: Facet plot with errorband

**URL:** <https://discourse.julialang.org/t/vegalite-facet-plot-with-errorband/35903>\
**Category:** Visualization\
**Tags:** question\
**Created:** [March 12, 2020, 10:20pm UTC](https://discourse.julialang.org/t/vegalite-facet-plot-with-errorband/35903 "2020-03-12T22:20:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [March 13, 2020, 9:46am UTC](https://discourse.julialang.org/t/vegalite-facet-plot-with-errorband/35903/2 "2020-03-13T09:46:29Z")

</div>

We had a similar question here

> [@VegaLite: facet plot with running average layer](https://discourse.julialang.org/t/vegalite-facet-plot-with-running-average-layer/35463):
>
> I have a dataset with continuous values and would like to plot those values together with their running averages in a layered plot. Works well in this simple case: using Random, DataFrames, Queryverse Random.seed!(1234) df = DataFrame(index=1:100, value=rand(100)) df |\> @vlplot(transform=[{frame= [-15, 15], window=[{op=:mean, field=:value, as=:avg\_value}]}]) + @vlplot( mark={:line, strokeWidth=2, opacity=0.5}, x="index:q", y="value:q" ) + @vlplot( mark={:line, strokeWidth=3}, …

The solution wasn’t obvious so maybe it is similar here. Could you try for yourself? I could perhaps look later into details.

---

_[View the full topic](https://discourse.julialang.org/t/vegalite-facet-plot-with-errorband/35903)._
