Hi! I want to make a plot similar to the violin plot below, but instead of each violin shape a distribution of biomass I'd like to plot the distribution of biomass across latitude for each year. In the new plot the x-axis would remain 'year', the y-axis would instead be 'latitude', and the width of the violin would be abundance of biomass (at a certain latitude within each year).
I used ggplot to create this plot:
ggplot(data, aes(factor(YEAR), BIOMASS)) + geom_violin()
Any advice, suggestions are welcome. Thank you!
Best,
Mikaela