Go to TogaWare.com Home Page. Data Science Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

Violin Plot

Raw

\includegraphics[width=\textwidth]{figures/onepager/ggplot2:violin_plot-1}

ds %>%
  mutate(year=factor(format(ds$date, "%Y"))) %>%
  ggplot(aes(x=year, y=max_temp, fill=year)) +
  geom_violin() +
  theme(legend.position="none")

A violin plot is another interesting way to present a distribution, using a shape that resembles a violin.

We again use colour to improve the visual appeal of the plot.


Support further development by purchasing the PDF version of the book.
Other online resources include the GNU/Linux Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 2000-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.