# VegaLite.jl: How to pass in a DataFrame and apply data parameters

**URL:** https://discourse.julialang.org/t/vegalite-jl-how-to-pass-in-a-dataframe-and-apply-data-parameters/49901
**Category:** Visualization
**Created:** [November 10, 2020, 9:30am UTC](https://discourse.julialang.org/t/vegalite-jl-how-to-pass-in-a-dataframe-and-apply-data-parameters/49901 "2020-11-10T09:30:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![venaptor](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@venaptor](https://discourse.julialang.org/u/venaptor)
#### Post date: [November 10, 2020, 9:30am UTC](https://discourse.julialang.org/t/vegalite-jl-how-to-pass-in-a-dataframe-and-apply-data-parameters/49901/1 "2020-11-10T09:30:01Z")

</div>

When I pipe a DataFrame into @vlplot I’m not able to call the additional configuration parameters as the data isn’t inline. Below is what I want to achieve, but using an external DataFrame as the values:

```julia
    data = {
    values = [{foo="Jan",bar=1.7},{foo="Feb",bar=1.5},{foo="Mar",bar=0.8}],
    format = {parse ={"foo"= "utc:'%b'"}}
    }

```

I see the shorthand way to specify a DataFrame as inline in the VegaLite.jl documentation as below, but if I set values equal to the DataFrame in the verbose data format (above), it doesn’t import into the spec in a useable way.

```julia
@vlplot(:point, data=df, x=:a, y=:b)

```

Can anyone tell me how to go about this?
