How to convert .py to .exe with plotly graph?

Actually Iā€™ve made a graph using plotly but the user want to show only graph using like .exe file, So how i can convert into .py to .exe ? Hereby i am sharing codes and .png fileā€¦

Uploading: Screenshot (21).pngā€¦
import pandas as pd
import plotly.express as px

df = pd.read_csv(ā€œC:/Users/Singh/Downloads/REPORT_1.csvā€)
df
fig = px.sunburst(df, path=[ā€˜SUPERVIOSER NAMEā€™, ā€˜VILLAGE NAMEā€™, ā€˜TOTAL AREAā€™], values=ā€˜VILLAGE CODEā€™,height=3000,title=ā€œCane Survey Reportā€)
fig.show()

hi @Abhay
welcome to the community. This geeksforgeeks article on converting python script to exe file worked for me.

I used Python 3.8, and I converted this example Plotly Bar chart code in the docs into an exe file (when using python 3.10 I got an error):

import plotly.express as px
data_canada = px.data.gapminder().query("country == 'Canada'")
fig = px.bar(data_canada, x='year', y='pop')
fig.show()