pie_chart_example

Functions

create_pie_chart(title, param, size, position)

Create and configure a PieChart instance with the given parameters.

load_data(path)

Load data from the specified CSV file.

convert_plot_to_json(plot)

Convert plot data to JSON format.

main()

Main function to create the project and serve it.

Module Contents

pie_chart_example.create_pie_chart(title, param, size, position)[source]

Create and configure a PieChart instance with the given parameters.

pie_chart_example.load_data(path)[source]

Load data from the specified CSV file.

pie_chart_example.convert_plot_to_json(plot)[source]

Convert plot data to JSON format.

pie_chart_example.main()[source]

Main function to create the project and serve it.