I'm having a problem with my UI in shiny. I need the dashboardBody to be divided by two rows.
The first row is divided by 2 columns. One with one plot and the other with 2 plots, each one in a row.
The second row is divided by 3 columns, each one with a infoBox.
This is my code:
dashboardPage(skin = 'green',
dashboardHeader(title = 'Zanity - Análise de Dados e Consultoria', titleWidth = 400),
dashboardSidebar(width = 400),
dashboardBody(
box(title = 'Weekly revenue', plotlyOutput('plot_revenue')),
box(title = 'Loading %', plotlyOutput('plot_porc_loading')),
box(title = 'Manufacture', plotly('plot_manu')),
fluidRow(
infoBox('Ex. Load', 200, icon = icon('weight')),
infoBox('Loading %', '0.97%', icon = icon('percent')),
infoBox('Revenue', 'R$ 60.000,00', icon = icon('dollar-sign'))
)
)
)
This is how I want it to look: