# How to make stack graph become side by side with this dataset in julia language?

**URL:** <https://discourse.julialang.org/t/how-to-make-stack-graph-become-side-by-side-with-this-dataset-in-julia-language/90586>\
**Category:** Visualization\
**Tags:** question, package, plotting\
**Created:** [November 21, 2022, 1:01pm UTC](https://discourse.julialang.org/t/how-to-make-stack-graph-become-side-by-side-with-this-dataset-in-julia-language/90586 "2022-11-21T13:01:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshdfyehd](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/akshdfyehd/32/39097_2.png) [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Post date:** [November 21, 2022, 1:01pm UTC](https://discourse.julialang.org/t/how-to-make-stack-graph-become-side-by-side-with-this-dataset-in-julia-language/90586/1 "2022-11-21T13:01:23Z")

</div>

I have got this dataset in julia:

```julia
import Downloads 
using DLMReader, VegaLite, InMemoryDatasets 
data=Downloads.download("https://raw.githubusercontent.com/akshdfyehd/salary/main/ds_salaries.csv") 
ds=filereader(data,emptycolname=true) 
new=filter(ds,:employment_type,by= ==("FT")) 
select!(new,:job_title,:salary_in_usd,:work_year)
588×4 Dataset
 Row │ job_title work_year experience_level salary_in_usd
     │ identity identity identity identity
     │ String? Int64? String? Int64?
─────┼────────────────────────────────────────────────────────────────────────
   1 │ Data Scientist 2020 MI 79833
   2 │ Machine Learning Scientist 2020 SE 260000
   3 │ Big Data Engineer 2020 SE 109024
   4 │ Product Data Analyst 2020 MI 20000
   5 │ Machine Learning Engineer 2020 SE 150000
   6 │ Data Analyst 2020 EN 72000
   7 │ Lead Data Scientist 2020 SE 190000
   8 │ Data Scientist 2020 MI 35735
   9 │ Business Data Analyst 2020 MI 135000
  10 │ Lead Data Engineer 2020 SE 125000
  11 │ Data Scientist 2020 EN 51321
  12 │ Data Scientist 2020 MI 40481
  13 │ Data Scientist 2020 EN 39916
  14 │ Lead Data Analyst 2020 MI 87000
  ⋮ │ ⋮ ⋮ ⋮ ⋮
 576 │ Data Analytics Manager 2022 SE 150260
 577 │ Data Analytics Manager 2022 SE 109280
 578 │ Data Scientist 2022 SE 210000
 579 │ Data Analyst 2022 SE 170000
 580 │ Data Scientist 2022 MI 160000
 581 │ Data Scientist 2022 MI 130000
 582 │ Data Analyst 2022 EN 67000
 583 │ Data Analyst 2022 EN 52000
 584 │ Data Engineer 2022 SE 154000
 585 │ Data Engineer 2022 SE 126000
 586 │ Data Analyst 2022 SE 129000
 587 │ Data Analyst 2022 SE 150000
 588 │ AI Scientist 2022 MI 200000
                                                              561 rows omitted

```

I have tried following graph with code like this:

```julia
new |> @vlplot(:bar,columns=2,wrap="experience_level:o",x={:job_title},y={"salary_in_usd",sort="-x"},color=:work_year,width=600,height=150)

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/6/8677f42a96fb9abac8caae16cca11a7e63f7cb61.png)

Can I please have any suggestions on how to make the stack part to be side by side? any other packages will do as long as it can show good graph. Thanks in advance!
