def METHOD_NAME(self):
    hbox = self.ipywidget_factory.get_hbox()
    children = list()
    if len(self.df) > 0:
        self.heading = self.ipywidget_factory.get_html(
            "Type:", width="80px", height="32px"
        )
        children.append(self.heading)
        self._create_type_button(Encoding.chart_type_table, children)
        self._create_type_button(Encoding.chart_type_pie, children)
        if len(self.df.columns) > 1:
            self._create_type_button(Encoding.chart_type_scatter, children)
            self._create_type_button(Encoding.chart_type_line, children)
            self._create_type_button(Encoding.chart_type_area, children)
            self._create_type_button(Encoding.chart_type_bar, children)
    hbox.children = children
    return hbox