li-nguyen's picture
Copy over third batch version
42ee455
raw
history blame
318 Bytes
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro
tips = px.data.tips()
page = vm.Page(
title="Stacked column",
components=[vm.Graph(figure=px.histogram(tips, x="sex", y="total_bill", color="day"))],
)
dashboard = vm.Dashboard(pages=[page])
Vizro().build(dashboard).run()