I am not understanding the reason why range on y_axis goes more than around 500k whereas the max value for the column Total_Expenditure 2486. What is the reason of being the value at y axis goes over 500k?
What is the underlying thing going on here or explanation behind it?
import plotly.express as px
import plotly.io as pio
barchart = px.bar(
data_frame = data,
x = 'Education',
y = 'Total_Expenditure',
color = 'labels3',
barmode ='group',
title='Relationship of Transaction and Education',
width= 900, height= 500,
template= 'plotly_dark'),
barchart.update_traces(marker_line_width = 0,selector=dict(type="bar"))
pio.show(barchart)
I tried to find the reason in different platform. I think the reason is so simple and too basic but i could not figure it out it.
Link of figure:(https://drive.google.com/file/d/1SmZEnrLRofwhvOBO60FdJPdqNeYPTlwh/view?usp=sharing)
Rotnodip Sarkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
5