def METHOD_NAME(self):
    """Build pie chart."""
    df = self.df
    width = self.width
    height = self.height
    name = self.name
    plt.rcParams.update({"figure.max_open_warning": 0})
    category_name = df.columns[0]
    value_name = df.columns[1]
    df = df.sort_values(by=value_name, ascending=False)
    category_column = df[category_name]
    value_column = df[df.columns[1]]
    labels = category_column
    plt.gca().axis("equal")
    def autopct(pct):
        """Get percentages for the pie chart slices > 10%."""
        return ("%1.0f%%" % pct) if pct > 1 else ""
    METHOD_NAME = plt.METHOD_NAME(
        value_column,
        startangle=0,
        radius=1,
        autopct=autopct,
        textprops={"color": "w", "fontsize": 7},
    )
    plt.legend(
        METHOD_NAME[0],
        labels,
        bbox_to_anchor=(1, 0.5),
        loc="center right",
        fontsize=7,
        bbox_transform=plt.gcf().transFigure,
        frameon=False,
    )
    plt.subplots_adjust(left=0.2, wspace=0.2)
    plt.gcf().set_size_inches(
        width / CM_CONVERSION_FACTOR, height / CM_CONVERSION_FACTOR
    )
    plt.savefig(
        BASE_DIR + "/assets/" + name, transparent=True, dpi=500, bbox_inches="tight"
    )
    plt.clf()