def METHOD_NAME(
    loaded_funds: mstarpy.Funds, asset_type: str = "equity", external_axes: bool = False
):
    """Display fund, category, index sector breakdown
    Parameters
    ----------
    loaded_funds: mstarpy.funds
        class mstarpy.Funds instantiated with selected funds
    asset_type: str
        can be equity or fixed income
    external_axes : bool, optional
        Whether to return the figure object or not, by default False
    Returns
    -------
    fig : plotly.graph_objects.Figure
        Plotly figure object
    Examples
    --------
    >>> from openbb_terminal.sdk import openbb
    >>> f = openbb.funds.load("Vanguard", "US")
    >>> openbb.funds.sector_chart(f)
    """
    df = mstarpy_model.get_sector(loaded_funds, asset_type)
    if not df.empty:
        fig = OpenBBFigure()
        width = -0.3
        title = "Sector breakdown of"
        for x in ["fund", "index", "category"]:
            name = df[f"{x}Name"].iloc[0]
            data = df[f"{x}Portfolio"].to_dict()
            p_date = data["portfolioDate"]
            portfolio_date = p_date[:10] if p_date else ""
            data.pop("portfolioDate")
            labels = list(data.keys())
            values = list(data.values())
            # if all values are 0, skip
            values = [0 if v is None else v for v in values]
            if sum(values) == 0:
                continue
            fig.add_bar(
                x=labels,
                y=values,
                name=f"{x} : {name} - {portfolio_date}",
            )
            width += 0.3  # the width of the bars
            title += f" {name},"
        fig.update_layout(margin=dict(t=45), xaxis=dict(tickangle=-15))
        fig.set_title(title.rstrip(","), wrap=True, wrap_width=60)
        return fig.show(external=external_axes)
    return None