0

This question is more like a brainstorming one. I recently made a dash using plotly library and I'm overall happy. Now I want to make a similar dash but I am not using Plotly because my goal is to later write its content to XML, and with plotly, I can just convert the dash's graph or image into html and not the text or filters. Keeping that in mind, what platform would you suggest which can help me in making a simple dash covering this information (which can be later downloaded to xml/html) enter image description here

The callbacks I'm using for the filters: @app.callback( Output(component_id='release_choice', component_property='options'), [Input(component_id='Tech_choice', component_property='value')]) def get_options(Tech_choice): dff = df[df.Technology == Tech_choice] return [{'label': i, 'value': i} for i in dff['SystemRelease'].unique()]

@app.callback(
    Output(component_id='release_choice', component_property='value'),
    [Input(component_id='release_choice', component_property='options')])
def get_values(release_choice):
    return [k['value'] for k in release_choice][1]

@app.callback(
    [Output(component_id='date_choice', component_property='start_date'),
    Output(component_id='date_choice', component_property='end_date')],
    [Input(component_id='release_choice', component_property='value')])
def get_options(date_choice):
    dff = df[df.date2 == date_choice] 
    return [{'label': i, 'value': i} for i in dff['date2']]

@app.callback(Output(component_id='my-graph', component_property='figure'),
              [Input(component_id='release_choice', component_property='value'),
              Input(component_id='Tech_choice', component_property='value'),
              Input(component_id='date_choice', component_property='start_date'),
              Input(component_id='date_choice', component_property='end_date')], )

The information in the filters is to be taken from a data source (csv). The output can look like this or in a form of a graph. But in a way that I can later take the entire dashboard's content and put it in my website.

TiA

1
  • This question seems to be about programming and may belong better on StackOverflow – DeveloperACE May 31 at 21:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.