Extension to ggplot2 for plotting ternary diagrams