Code: Select all
fig = px.histogram(
df,
x = 'age',
marginal = 'box',
nbins = 47,
title = 'Distribution of Age'
)
fig.update_layout(bargap = 0.1)
fig.show()
Code: Select all
fig = px.histogram(
df,
x = 'age',
marginal = 'box',
nbins = 47,
title = 'Distribution of Age'
)
fig.update_layout(bargap = 0.1)
fig.show()