If I have a csv file with unknown length, and I want to generate a scatter plot with each several rows of data. So I have to generate many scatter plot. How can I use a for loop in the app.Layout() to do that? Can I for loop callback as well?
@app.callback(Output('out', 'children'),
[Input('...', '...')],
def clean_plot(...):
lis=[]
for i in ...:
lis.append(html.Div(dcc.Graph(
figure={'data':data_for_i})))
return lis