Hi,
I am trying to make bar chart with x axis is date and y axis is total sales.
Here is the code:
import pandas as pd
import plotly.express as px
df = pd.read_csv("data-sales.csv")
fig = px.bar(data_frame=df, x="Basedate", y="Sales")
fig.show()
Here is the result:
Here is the data:
The data above is from dummy database that created myself and then I download it as csv file, but if I create exactly the same data manually in excel, the result is different.
Whatβs wrong with the data from the database?