# Solutions to "Just KNIME It!" Challenge 6

**URL:** <https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343>\
**Category:** Just KNIME It!\
**Tags:** justknimeit\
**Created:** [March 2, 2022, 2:15pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343 "2022-03-02T14:15:24Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [March 2, 2022, 2:15pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/1 "2022-03-02T14:15:24Z")

</div>

This thread is for posting solutions to “Just KNIME It!” Challenge 6. Feel free to link your solution from KNIME Hub as well!

---

<div class="post-metadata">

**Author:** ![Thyme](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thyme/32/34550_2.png) [@Thyme](https://forum.knime.com/u/Thyme)\
**Post date:** [March 2, 2022, 2:51pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/2 "2022-03-02T14:51:35Z")

</div>

This is quite straightforward:

1. Cell Splitter (using List/Set) and Ungroup node to get input table into long format
2. GroupBy to count the frequency of each news source
3. Joiner to append text description

The Dashboard then uses an array Flow Variable to present the existing options to the user in a Single Selection Widget. A Row Filter then reduces the table to one row, which is displayed in a Table View. Feels a bit moot, but there’s not much left to show. Maybe someone else is more creative 😅

PS: No Java Snippet this thyme, sorry 😉

> **[JKI\_006 – thyme](https://hub.knime.com/thyme/spaces/Public/latest/Just%20KNIME%20It!/JKI_006~74NmG_464Y5n5LnC)**
>
> There has been no description set for this workflow's metadata.

 ![JKI_006](https://forum-cdn.knime.com/uploads/default/original/3X/c/4/c4549e0c65f2821082e6c4f668c0569bd5d2866d.png) ![JKI_006_Dashboard](https://forum-cdn.knime.com/uploads/default/original/3X/a/5/a548bd412229b29136d0e64aec57bc48336a8be8.png)

---

<div class="post-metadata">

**Author:** ![morpheusTM](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/f07891/32.png) [@morpheusTM](https://forum.knime.com/u/morpheusTM)\
**Post date:** [March 2, 2022, 4:47pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/3 "2022-03-02T16:47:20Z")

</div>

Hi all,

Here’s my solution with some visualisations.

> **[justknimeit-6 – morpheustm](https://hub.knime.com/morpheustm/spaces/Public/latest/justknimeit-6~JGqrYoDMWBXJZVud)**
>
> Solution to the justknimeit-6 challenge

Bye 😉

---

<div class="post-metadata">

**Author:** ![lelloba](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lelloba/32/43992_2.png) [@lelloba](https://forum.knime.com/u/lelloba)\
**Post date:** [March 2, 2022, 6:40pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/4 "2022-03-02T18:40:37Z")

</div>

Hello,

here is the link to my solution: [justknimeit-6 - Raffaello Barri](https://kni.me/w/q3VEYvkZ5rcVumO7).

I noticed that the answers given by each person are not following a specific order (ascending or descending). I assume each person indicated the main source of information, then the second main source and so on. Given this, I added a sunburst with three levels and three different pie charts with the first the second and the third most preferred sources of information.

The loop at the beginning should make the flow robust to a potential addition in the sources list (I used regex to select attributes).

RB

---

<div class="post-metadata">

**Author:** ![arddashti](https://forum-cdn.knime.com/user_avatar/forum.knime.com/arddashti/32/34545_2.png) [@arddashti](https://forum.knime.com/u/arddashti)\
**Post date:** [March 3, 2022, 5:28pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/5 "2022-03-03T17:28:52Z")

</div>

Hello KNIMErs,  
Here is my solution for Challenge 6

> **[justknimeit-6 – arddashti](https://hub.knime.com/arddashti/spaces/Public/latest/justknimeit-6~5gSmh0GWbUzLcebc)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

 ![Untitled](https://forum-cdn.knime.com/uploads/default/original/3X/8/2/82b3412775529a2290b62d73c372ba1be024289b.png)

---

<div class="post-metadata">

**Author:** ![MEPivnenko](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mepivnenko/32/36596_2.png) [@MEPivnenko](https://forum.knime.com/u/MEPivnenko)\
**Post date:** [March 4, 2022, 6:40am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/6 "2022-03-04T06:40:58Z")

</div>

I like bar charts - the most informative in my opinion.  
[KnimeIT\_6.knwf](https://forum.knime.com/uploads/short-url/geg0YPD8DaDxpXVZcxwRcJa8e7x.knwf) (18.6 KB)

---

<div class="post-metadata">

**Author:** ![gonhaddock](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gonhaddock/32/35425_2.png) [@gonhaddock](https://forum.knime.com/u/gonhaddock)\
**Post date:** [March 4, 2022, 12:07pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/7 "2022-03-04T12:07:09Z")

</div>

Hello KNIMErs,

TGIF and here is my solution to #justknimeit-6 :

KNIME Hub \> gonhaddock \> Spaces \> Just\_KNIME\_It \> [Just KNIME It \_ Challenge 006](https://kni.me/w/Nv2jMsyjb6sbr8UQ)

In this opportunity for the first task, **(1) replace codes with corresponding names**; i just took this @iris [solution](https://kni.me/w/MjiD7VtF32L8KI8X) that I really like. I realized that this is the perfect fitting task whether to apply it.  
I’ve acknowledged the reference sources in both, the ‘Description Panel’ and in the ‘Workflow Annotations’ as well.

For the second task, **(2) to create an interactive dashboard that shows how many times each option has been selected**; I’ve selected the ‘Bar Chart’ plot showing up the total counts for each option in the ‘Source’ column. To achieve the results the selected approach has been a Logical Indexing  
regex match method, then counting occurrences by ‘News Source’ afterwards.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/5/b/5bd9ca4feeb2620cc031953aac599d0a3170192f.png) ![image](https://forum-cdn.knime.com/uploads/default/original/3X/0/b/0b758295c43b4996afe098bf5d7ca8bafe46a685.png)  
The dashboard should allow users to filter for the options they are interested in.

Latest but not least for the bonus:

> [@Thyme](#):
>
> Maybe someone else is more creative 😅

As I feel somehow challenged… (3) Note: Feel free to use this challenge as an opportunity to explore different visualization nodes!  
Then I’ve decided to explore an R Sankey Diagram as an interactive dashboard, that pops up in your favorite web browser. To achieve this results I’ve assumed that the string sequence in ‘Source’ column, keeps survey’s selections ordinal / preferential sequence.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/d/3ddac169f9877753444d8310e75a787a86f2051f.png)

BR

---

<div class="post-metadata">

**Author:** ![ersy](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/e/71c47a/32.png) [@ersy](https://forum.knime.com/u/ersy)\
**Post date:** [March 4, 2022, 1:21pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/8 "2022-03-04T13:21:01Z")

</div>

Hi everyone,  
Here is my solution  
4 bar chart, 4 description text.

> **[justKnimeit-6 – ersy](https://hub.knime.com/ersy/spaces/Public/latest/justKnimeit-6~Uf3oP-oUWpiYaHqR)**
>
> There has been no description set for this workflow's metadata.

---

<div class="post-metadata">

**Author:** ![gonhaddock](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gonhaddock/32/35425_2.png) [@gonhaddock](https://forum.knime.com/u/gonhaddock)\
**Post date:** [March 4, 2022, 2:03pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/9 "2022-03-04T14:03:40Z")

</div>

The link was broken.

> [@gonhaddock](#):
>
> TGIF and here is my solution to #justknimeit-6 :
> 
> KNIME Hub \> gonhaddock \> Spaces \> Just\_KNIME\_It \> [Just KNIME It \_ Challenge 006](https://kni.me/w/vWVlSq4JFI6FLbE-)

Sorry for that, now it works back again.

BR

---

<div class="post-metadata">

**Author:** ![lenexa\_jayhawk](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/85f322/32.png) [@lenexa\_jayhawk](https://forum.knime.com/u/lenexa_jayhawk)\
**Post date:** [March 4, 2022, 5:43pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/10 "2022-03-04T17:43:57Z")

</div>

I took an extremely simple approach to this solution, as well, and realized I had never been formally introduced to the Ungroup node. This helped me avoid multiple Joiner nodes after splitting the source column, which I’m probably addicted to. My interactive histogram is also not incredibly deep but the user can select a description to see the values.

> **[KNIME\_Challenge6\_Fave\_Sources – lenexa\_jayhawk](https://hub.knime.com/lenexa_jayhawk/spaces/Public/latest/KNIME_Challenge6_Fave_Sources~msNmb-hV597OJnMX)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

---

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [March 4, 2022, 10:04pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/11 "2022-03-04T22:04:28Z")

</div>

Whoah! I don’t think I had ever seen this type of viz in action!

---

<div class="post-metadata">

**Author:** ![Adrix](https://forum-cdn.knime.com/user_avatar/forum.knime.com/adrix/32/47170_2.png) [@Adrix](https://forum.knime.com/u/Adrix)\
**Post date:** [March 4, 2022, 10:37pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/12 "2022-03-04T22:37:30Z")

</div>

Hello All ,

Now we have Viz ? This is getting better… 🙂

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/8/387b4de68f09e0489977cfb3ef8f7f68e33156b5.png)

My data flow in here

> **[KNM CH 06 – adrix](https://hub.knime.com/adrix/spaces/Public/latest/KNM%20CH%2006~BoQvTT5htJkx4KBH)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

---

<div class="post-metadata">

**Author:** ![AnilKS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anilks/32/52258_2.png) [@AnilKS](https://forum.knime.com/u/AnilKS)\
**Post date:** [March 5, 2022, 5:49pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/13 "2022-03-05T17:49:08Z")

</div>

My take on Just Knime it Challenge 6  
Most Popular News Sources  
Fields were limited so visual werent asthetic… and less flexible for selection.  
[Just Knime It- Ch6 Anil](https://kni.me/w/yjydesrawNUOqdh-)

 ![Capture](https://forum-cdn.knime.com/uploads/default/original/3X/d/d/dd85c2f448698c9f720ec405b0d18d723637e1d9.png)

AKS

---

<div class="post-metadata">

**Author:** ![martinmunch](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@martinmunch](https://forum.knime.com/u/martinmunch)\
**Post date:** [March 6, 2022, 6:48pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/14 "2022-03-06T18:48:32Z")

</div>

here’s me solution

Interactive word cloud that filters table and highlights bar chart.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/b/3b6b6c2da00505151ecdbd4369ca833370b1f380.png)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/b/5/b5478bbbb69b8125319e0c71d900939e970b2d18.png)

> **[KNIME\_challenge6\_solution – martinmunch](https://hub.knime.com/martinmunch/spaces/Public/latest/KNIME_challenge6_solution~3NF1HnY7hQPqPOSq)**
>
> There has been no description set for this workflow's metadata.

cheers

---

<div class="post-metadata">

**Author:** ![MoLa\_Data](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mola_data/32/58742_2.png) [@MoLa\_Data](https://forum.knime.com/u/MoLa_Data)\
**Post date:** [March 7, 2022, 7:38pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/15 "2022-03-07T19:38:20Z")

</div>

Hi KNIMErs;  
here my solution 😅 ⏳  
 ![1](https://forum-cdn.knime.com/uploads/default/original/3X/2/b/2ba0420d7788ae521b64b50fec6f5a454220584e.gif)

> **[Angel Molina - Challenge 6 – mola\_data](https://hub.knime.com/mola_data/spaces/Public/latest/Angel%20Molina%20-%20Challenge%206~eV0iQQekElIGpJLM)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

Take care  
Regards

---

<div class="post-metadata">

**Author:** ![rfeigel](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/7ea924/32.png) [@rfeigel](https://forum.knime.com/u/rfeigel)\
**Post date:** [March 8, 2022, 1:30am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/16 "2022-03-08T01:30:35Z")

</div>

Here’s my solution. There’s a bug in the Column Selection widget. Armin Ghassemi Rudd provided me a workaround. This was my first attempt at developing and interactive dashboard so its a little crude, but seems to work fine. I added a " No Choice" category so they can be counted. I have two sets of choice bar and pie charts so the user can compare two choices at the same time. I joined print papers/radio & TV and social media/online papers to create traditional vs. online categories. The Name Table metanode is pretty messy both conceptually and visually. I couldn’t think of an easier way to do it.

[REF Challenge 6 w Dashboard 1.knwf](https://forum.knime.com/uploads/short-url/AgzKnGCiNXm1XgOqOEeyjVyONdJ.knwf) (1.0 MB)

 ![2022-03-07_20-23-12](https://forum-cdn.knime.com/uploads/default/original/3X/3/5/3590fb4ac1287cb53d697b12d6e4d4cc9f00e6dd.jpeg)

 ![2022-03-07_20-25-19](https://forum-cdn.knime.com/uploads/default/original/3X/2/e/2e23fb922b73ef4450fa1c69eaca54e6963da15d.jpeg)

---

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [March 8, 2022, 3:37pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-6/40343/17 "2022-03-08T15:37:56Z")

</div>

As always on Tuesdays, here’s our solution to “Just KNIME It!” challenge 6. 🙂 We used two rather similar charts (donut and bar) for didactic purposes, just to complicate the workflow a little bit while still keeping it easy enough for a baseline solution.

> **[Challenge 6 - Most Popular News Sources - Solution – alinebessa](https://hub.knime.com/knime/spaces/Just%20KNIME%20It!/latest/Challenge%206%20-%20Most%20Popular%20News%20Sources%20-%20Solution~3hCMMJsQS75k3qw8)**
>
> A research group is running a study to understand how news consumption has changed lately. They run a survey on 3,000 people, asking where they usually read th…

You folks are very inspiring and are bringing lots of knowledge here! Keep up the excellent, collaborative work! 🤩 🤩

And see you tomorrow for a new challenge.
