How to draw the grouped bar plot in julia(best using Vegalite)

akshdfyehd
Wed, 02 Nov 2022 13:09:50 +0000
Visualization

Hi, I need to draw a graph which is grouped bar chart, y axis will be salary, x axis will be job title, and I want to present each job title with employment type in different colors(this contains part time, full time, freelance, contract these four types), it will be graph like this:

but the final graph needs to be horizontal bar plot as there are lots of job title in my dataset.

I have tried vegalite package but I found the code for grouped bar chart is complex to understand, therefore I have looked at plotlyjs, but I got the error:

can someone please give me some advices about it? Any other useful packages can draw the grouped bar chart will be helpful, thanks!!

8 posts - 5 participants