Qurak

Compare different units

Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
data = {"175 lb", "100 kg", "12 stones", "hundredweight"};
PieChart[Quantity /@ data, ChartLabels -> data, ImageSize -> Medium, LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 14}]
Output
-Graphics-
Step 2
data2 = {"4 ft. 5 inches", "172 cm", "2.3 yards", "horse length"};
BarChart[Quantity /@ data2, ChartLabels -> data2, ChartStyle -> "Rainbow", AxesLabel -> Automatic, ImageSize -> Medium, LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 14}]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client