Pie charts are popular for showing proportions. A pie chart’s main characteristic is that all items usually sum up to 100 percent. They are displayed as segments of a disc.
We will use the pgf-pie package, which builds on TikZ and is specialized for generating pie charts.
Full explanation in Chapter 9, Creating Graphics: Drawing a pie chart
Edit and compile if you like:% Pie 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 [rotate = 180]
{62/\TeX\ Live and Mac\TeX,
32/MiK\TeX\ and Pro\TeX t, 6/Other \TeX}
\end{tikzpicture}
\end{document}
Open in Overleaf: pie-chart.tex
