跳到主要内容

🥷 [S2] Challenge 14

· 阅读需 2 分钟

Just KNIME It, Season 2 / Challenge 14 reference

Challenge question​

Challenge 14: LGBTQIA+ Rights throughout the World

Level : Medium

Description: The goal of this challenge is to create an interactive dashboard to rank countries according to their covered LGBTQIA+ rights. The provided dataset contains 11 types of laws about LGBTQIA+ rights, such as CSSSA LEGAL (Consensual Same-Sex Sexual Acts between Adults), CONST (Constitutional Protection), and BROAD PROT. (Broad Protection). You can read a full description of them in the header provided here. Assign 1 point for each law fully provided by the country, 0.5 if its coverage is limited, and 0 if there is no law. Which countries observe LGBTQIA+ rights the most? Hint: Enable interactivity by adding a selection widget: only the laws selected by the user should be counted in the country score.

Workflow​

The challenge is straightforward and reminiscent of a previous Euro Song Contest. On the forum, a user employs a pivoting node to select the relevant laws in the form of rows for filtering. Instead of following this approach, I directly utilized the Column Filter Widget node. Additionally, they utilized the Rule Engine node to score different legal situations. Since the scoring rules are relatively simple, I opted to use the String Manipulation node directly.

Any thoughts?​

  • I utilized the Bar Chart node to display the histogram distribution of the scores. Although in my workflow this node is typically used downstream, surprisingly, the Tile View node responds when interacting with it. This suggests the presence of a global event, with other nodes subscribing to this event as needed.
  • The Choropleth World Map and Bar Chart nodes are currently unable to respond to the "Interactive Range Slider Filter Widget." As a result, we are required to utilize the "Refresh Button Widget" instead. However, I am confident that there is a solution to resolve this issue.