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()