Solutions to “Just KNIME It!” Challenge 21 - Season 3

:sun_with_face: Hi, folks! After last week’s movie challenge :movie_camera:, let’s steer our gears and focus on API manipulation. :robot: The context? Everyone’s favorite game franchise: Pokémon!

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 JKISeason3-21 .

:sos: Need help with tags? To add tag JKISeason3-21 to your workflow, go to the description panel in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. :blush: Let us know if you have any problems!

3 Likes

Enjoying a bit of API navigation every now and then.

Kept things simple so only very basic bar chart showing top 5 pokemon types:

3 Likes

My solution to the challange:

I wouldn’t say it’s fast as it will scrape down the details of every pokemon, but I didn’t find a faster solution (knowing this community at the end there will be a 5 second solution :smiley: )

For visualizing better in the table I scraped down the icons of the types and put it there.

6 Likes


@MartinDDDD Thank you very much, until your post I was really lost, I was inspired by your solution to develop mine.

5 Likes

Hi all,
Here is my solution.

Tile View is suitable for visualizing the number of Pokémon of each type in a small space.

3 Likes

Hello,

this is my solution.
I used two recursive loops what seems to be to complex but it works.

4 Likes

Here’s my solution. Includes charts for both the top five types and the entire set. New table added 11/4/24 11pm USA EST - all Pokemons and associated types.

3 Likes

Hello all,
Here is my solution.

I showed the results using table view, bar chart, and pie chart.

4 Likes

Hi all,
Here is my solution. When I retrieved the data, there were two columns for type name. So, I combined them into a single column. Thanks

5 Likes

Find my submission :
https://hub.knime.com/s/jiWXRv08HUjnd


7 Likes

Radar chart is really the ■■■■ on Viz for this .

4 Likes

Added some views with the most common Pokemon per Type

4 Likes

I am having a problem where some API results are not coming in. What should I do to resolve this error?


From which node is the screenshot?

Just a guess: Your first get request will return a bunch of URLs for each pokemon that is then fed into the next get request. I think it’s ~1300 requests that the node will make which may make you run into rate limits - in my case I decided to go for a concurrency of 10 at a time with a 10ms delay… that adds some latency to the processing time, but it ran through for me without any issues:

2 Likes

Hi all,
Here is my solution: I created a chart using Pikachu-like colors. I also made a heatmap to visualize the frequency of different Pokémon type combinations, since there are many dual-type Pokémon.

5 Likes

:sun_with_face: Happy Tuesday, folks!

:zap: We just posted our solution to our Pokémon challenge from last week.

Like a few of us, we also used a recursive loop to properly gather information on all pokémons. That alone was most of the work, and we then kept our visualizations simple.

:hugs: Thanks as always for the beautiful solutions, with impressive dashboards!! See you tomorrow for an intriguing visual challenging focusing on our Generic ECharts View node.

3 Likes

Thanks, i will change my concurrency and try the challenge.

1 Like

My solution to this challenge ,

Thanks to @MartinDDDD , to change the concurrency idea and all other participants
and i take inspiration from @Tofusa to make a donut chart with the help of eChartView.

Chart view

Learned from this challenge

  1. Load data from API’s and how to read in the knime
  2. Learned about the Generic Echarts view.
2 Likes