def _radar_area_example_1()

in chartify/examples.py [0:0]


def _radar_area_example_1(total_by_fruit_and_country):
    """# Basic Scatter"""
    ch = chartify.RadarChart(True, layout="slide_50%")
    ch.set_title("Radar Area Chart")
    ch.set_subtitle("Each vertex plotted counterclockwise starting from top")
    ch.plot.text(
        total_by_fruit_and_country.groupby("country")["quantity"].max().reset_index(),
        "quantity",
        text_column="country",
        text_align="center",
    )
    ch.plot.area(total_by_fruit_and_country, "quantity", color_column="fruit")
    ch.axes.hide_yaxis()
    ch.axes.hide_xaxis()
    ch.set_legend_location("outside_bottom")
    ch.show(_OUTPUT_FORMAT)