Plotting three graphs in the same page

Hello guys, I am trying to post three graphs in the same page. If that cannot be done, I thought about doing it in tabs or in pages but I do not really know how to proceed. Could you show me some code as to how to do it?

Best

how about this?

import dash
import dash_core_components as dcc
import dash_html_components as html

app = dash.Dash()

app.layout = html.Div([
    dcc.Graph(
        id = 'graph1',
        figure = {
            'data': [
                { 'x': [1, 2, 3], 'y': [4, 1, 2] },
            ],
        }
    ),
    dcc.Graph(
        id='graph2',
        figure={
            'data': [
                {'x': [1, 2, 3], 'y': [6, 5, 4]},
            ],
        }
    ),

    dcc.Graph(
        id='graph3',
        figure={
            'data': [
                {'x': [1, 2, 3], 'y': [7, 4, 3]},
            ],
        }
    ),

])


if __name__ == '__main__':
    app.run_server(debug=True, port=5055)
1 Like

A post was split to a new topic: How to use multiple Checklists?