This thread is for posting solutions to “Just KNIME It!” Challenge 22, which touches on a very important topic: sexual orientation rights around the world.
here’s my solution.
Fun challenge, where you get to work with the viz nodes. The challenge brought me back to challenge 7 both in theme and that I got to work with the cool opensource rest API restcountries.com to enrich dataset with continent/region. I didn’t want to clean the country-column too much, so I lose a few countries in the API call.
I imported an Excel file containing the continent to which each country belongs. It comes from Wikipedia (Countries and continents).
With a Joiner node I then imported the continent.
Since some country names slightly differ (few rows, fortunately), I decided to use a Table Editor to manually insert the remaining continent names. This is not the most robust solution but I didn’t want to make API calls.
I am not quite satisfied with the sunburst charts. I am struggling to change the colours in the way I want (colour assigned for both continent and marriage legalisation). Can someone provide an example of how to do it? I tried to use a Color Manager node, but only one category can be modified, the other one becomes black. Also using two Color Manager nodes does not work, because colour is assigned for each row according to only one dimension.
I have used the country continent group from the reference site which has exhaustive table .Not used too much of color and editing.Used Latest Knime View labs Nodes as well .
Little strapped for time this week. Lots of people seemed to be able to get the bar charts and the restcountries API @martinmunch found is a great resource.
I had created a choropleth map a few weeks ago for a marketing project thought it would be good to contribute this piece. The KNIME Example of a choropleth is out of date using an out of date Google js library this is using the current google charts api/library. It’s not too different just a few tweaks
The Country names likely would need some massaging to get a fully colored map.
thank you for your reply. Unfortunately I was not able to solve my problem.
I will create a post on the forum, maybe this is not the right place to solve this problem.
Here’s my solution. Its missing some countries/territories. I couldn’t find a continent/country table which included non-UN countries and don’t have the time to manually create one. Regardless, the structure of the workflow seems to work.
As always on Tuesdays, here’s our solution to #justknimeit challenge 22!
@victor_palacios and I worked together on this challenge to acknowledge #pridemonth. We hope you enjoyed it, learned more about how to #dataviz with KNIME, and also learned about sexual orientation laws about the world.