piechart

piechart, tile type

The piechart tile displays a categorical breakdown. It expects one numeric vector and one group by clause.

Example

table T = with
  [| as Product, as Sales |]
  [| "Shirt", 120 |]
  [| "Hat", 80 |]
  [| "Shoes", 40 |]

show piechart "Sales per product" { 1..6, 1..14 } with
  sum(T.Sales)
  group by T.Product

StyleCode

For generic StyleCode rules, see stylecode.

User Contributed Notes
0 notes + add a note