The project is deployed with Heroky. Access the website here.
for the Plotly, dash app challenge and Intact Insurance challenge.
- Dash by Plotly
'/' contains the main files that make up the app: App.py, Graphs.py and ML.py
'/assets' contains the css styling and images
- App.py
- Graphs.py
- ML.py
Contains the App layout:
- Sex radio button
- Birthyear textbox
- Height textbox
- Weight textbox
- Children dropdown
- Smoker dropdown
- Graph selection dropdown
- Graph Component
- Heatmap image Component
- DataTable component
Contains the functions that make the graphs and tables
Functions exported to App.py:
- ScatterAgeCharges()
- ScatterBmiCharges()
- ScatterSmokerCharges()
- DataTable()
Contains the Linear Regression to predict health care charges
Function exported to App.py
- costPredictor(age, bmi, children, smoker)