I have created Graphs on Python using Plotly Express (bar chart, line graph, scatter graph).
I was wondering is there a ways of inputting the code directly into Dash.
i’ve included my code below:
import plotly.express as px
import pandas as pd
import numpy as np
Line Graph of All Age Groups
df = pd.read_csv(r’D:/University/3rd Year/Final Year Project/Data Collection/Combination/All Age Groups.csv’)
fig = px.line(df, x=‘Year Q’, y=[‘All 16-17’, ‘All 18-24’, ‘All 25-49’, ‘All 50 and over’], title=‘Line Graph of All Age Groups’)
Show plot
fig.show()