import pandas as pd 
import plotly.express as px 
from sklearn.cluster import KMeans 
df = pd.read_csv("/content/top_1000.csv") 
kmeans = KMeans(n_clusters=4) 
df["cluster"] = kmeans.fit_predict(df[["Write","Address","Size"]]) 
fig = px.scatter_3d(df, x="Write", y="Address", z="Size", color="cluster") 
fig.show()