This week, we are all becoming freelancing Data Scientists and will help an actuarial agency to determine probabilities and life expectancy of their clients. Ready for another week full of creative dashboards?
Here is the challenge. Letās use this thread to post our solutions to it, which should be uploaded to your public KNIME Hub spaces with tag JKISeason2-15.
Need help with tags? To add tag JKISeason2-15 to your workflow, go to the description panel on the right in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. Let us know if you have any problems!
Hereās my solution. User can choose either sex or both. Workflow produces simple chart. Having worked in the insurance industry Iām comfortable that it would be a lot more useful than plots for actual work. Plots are fine for death by Powerpoint.
I have wanted the slicer range to have an overview of the dataset, and the same time, have the possibility the view only 1 year.
Have a good weekend colleagues!
i used the slider widget to select the age with a refresh button, as per hint 2ā¦ this is a favorite of mine.
i used text output widgets to show the filtered data as an HTML tableā¦ the idea was that you could style as you like in the dashboard, but i didnt tackle the styling.
i used a plotly scatter plot for the dataviz, but as always i dropped the code into a generic javascript node because the customizability is so goodā¦ always my preferred approach.
hope you guys like it.
L JKISeason2-15 ā KNIME Community Hub
Hereās my entry for this week and very similar to my fellow KNIMErs
I decided to use the -Slider Widget- node to select the age and the -Tile View- node to display the information ( just because I like the way it looks ):
Here is my solution, nothing fancy here. However thank you @HeatherPikairos for this idea with slider filter, I think it looks more convenient and practical then Integer Widget + Refresh button nodes. Anyway I implemented both approaches and enriched the dashboard with dynamic violin plots.
Kudos in coming out with such an extensive workflow. I am trying to understand your thought process in arriving at this. Any inputs /suggestions for a novice as to how to proceed
Actually, Iād say most of my workflow was for aesthetic reasons. For example, I wanted to add some labels to the slider widget, but found that if I used the positions of 0%, 25%, 50% etc. then the labels displayed were decimals eg. 59.5 as the halfway point. However, all of the age values in the data are integers, so I didnāt want a decimal number on the slider. I used the -Java Snippet- node to create the different values for the slider and then the -Create Collection Column- node to create a list. Thinking about it now, I could have added in a switch or a rule to only apply this logic if the max value is an odd number. Maybe this whole step was unnecessary but I learnt a few things along the way haha
I also included a component to prepare data for the -Tile View- node where I converted the data to have 2 columns (male and female) with the statistic name and value concatenated into each cell in the columns.
As always on Tuesdays, hereās our solution to last weekās challenge!
Our solution is similar to most here! I personally really enjoyed the use some of you made of slider widgets and different plots. Also, as always, we love to see how you folks help each other!
Iām so happy to continue on the challenge, and now I have published my solution, influenced by some flow developed by several on this challenge, thanks to each one.