Say
counts = {0.18, 0.51, 0.31};
PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None]
I am completely puzzled how can I achieve a format like that of the following Figure.
Say
counts = {0.18, 0.51, 0.31};
PieChart[counts, ChartLabels -> counts, PlotRange -> All, Frame -> True, FrameTicks -> None]
I am completely puzzled how can I achieve a format like that of the following Figure.
counts = {0.18, 0.51, 0.31};
n = 600;
labels = Placed[Row /@ Thread[{Quantity[Round[100 counts], "Percent"],
" (" <> ToString@# <> "H)" & /@ Round[ n counts]}], "RadialOutside"];
legend = Placed[SwatchLegend[Automatic, Row /@ Thread[{{"CM ", "TD ", "TP "},
Row[{"(", #, ")"}] & /@ Quantity[Round[100 counts], "Percent"]}]],
{After, Bottom}, Framed];
Framed[PieChart[counts, ChartLabels -> labels, ChartLegends -> legend, PlotRange -> All]]
Style["x", FontSize -> 12, FontFamily -> "Latin Modern Roman", FontColor -> Black]
where "x", e.g. 18% (108H) or CM (18%) and so on.
$\endgroup$
LabelStyle -> {FontSize -> 12, FontFamily -> "Latin Modern Roman", FontColor -> Black}
to SwatchLegend
.
$\endgroup$
SwatchLegend
. I want also to affect accordingly the associated text that accompanies each pie.
$\endgroup$
PieChart
.
$\endgroup$