File size: 331 Bytes
42ee455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro

tips = px.data.tips()

page = vm.Page(
    title="Violin",
    components=[
        vm.Graph(figure=px.violin(tips, y="total_bill", x="day", color="day", box=True)),
    ],
)

dashboard = vm.Dashboard(pages=[page])
Vizro().build(dashboard).run()