import pandas as pd
import matplotlib.pyplot as plt

# Read the CSV file
df = pd.read_csv("temperature_data.csv")

# Convert the timestamp column to datetime
df['T_time'] = pd.to_datetime(df['T_time'])

# Plot the data
plt.figure(figsize=(12, 6))
plt.plot(df['T_time'], df['T_t'], label='Temperature (°C)')
plt.xlabel('Time')
plt.ylabel('Temperature (°C)')
plt.title('Temperature Over Time')
plt.legend()
plt.grid(True)
plt.xticks(rotation=45)
plt.tight_layout()
plt.show()