import pandas as pd | |
import plotly.express as px | |
def generate_report(data): | |
df = pd.DataFrame(data, columns=['Date', 'Data']) | |
fig = px.line(df, x='Date', y='Data') | |
return fig | |
import pandas as pd | |
import plotly.express as px | |
def generate_report(data): | |
df = pd.DataFrame(data, columns=['Date', 'Data']) | |
fig = px.line(df, x='Date', y='Data') | |
return fig | |