Example: Cloud chart

Published 2015-09-25 | Author: Stefan Kottwitz

Pie charts are popular for showing proportions. A pie chart’s main characteristic is that all items usually sum up to 100 percent.

We will use the pgf-pie package. The cloud option produces a set of discs whose sizes are according to the given values. This time, we put the text inside, scale it, and use a larger radius.

Full explanation in Chapter 9, Creating Graphics: Drawing a pie chart

Download as: [PDF] [TEX]  •  [Open in Overleaf]

Cloud chart
% Cloud chart
% Author: Stefan Kottwitz
% https://www.packtpub.com/hardware-and-creative/latex-cookbook
\documentclass[border = 10pt]{standalone}
\usepackage{pgf-pie}
\begin{document}
\begin{tikzpicture}
  \pie [cloud, text=inside, scale font, radius=6]
    { 62/\TeX\ Live and Mac\TeX,
      32/MiK\TeX\ and Pro\TeX t, 6/Other \TeX }
\end{tikzpicture}
\end{document}

Comments

Adding comments is currently not enabled.

There are currently 0 comments on this entry.

Features
Tags
LaTeX Cookbook

Cookbook

LaTeX Beginners Guide

Limited discount 50%
coupon code tDRet6Y

Creative Commons License