class PiePlot {

  public static Figure create(
      String title, Table table, String groupColName, String numberColName) {<FILL_FUNCTION_BODY>}
}


    Layout layout = Layout.builder(title).build();

    PieTrace trace =
        PieTrace.builder(table.column(groupColName), table.numberColumn(numberColName))
            .showLegend(true)
            .build();
    return new Figure(layout, trace);
  
<no_super_class>