Are there any errors reported in the browser JS console? Does this code work outside streamlit? Is the x-axis supposed to be a datetime axis? Does the timestamp column actually contain datetime values? My best guess without more information is that you have not actually parsed the timestamp column as datetime values, and also have not set the axis type to be datetime.