I just tried to create a choropleth map using the generic javascript node with google charts for a report that I need to do today, but it has stopped working. Last time I used it, it worked fine, but this time it just shows a blank view!
I tried some other generic javascript view (e.g. scatterplots) and they worked fine, so it seems to be something to specific to the map. Anyone else had this problem and know how to solve it?
Anyone else having this problem and know how to fix it!
I asked one of our developers to look into this. It looks like Google’s API has changed slightly. The way to fix it in the Generic JS View is with this bit of code:
@ScottF Related to this… There are a number of components with the name Choropleth Map… lilkely due to the self-paced training that asks the student to download the component, disconnect it, update it and then share it locally… but some users might be sharing it to the hub… cluttering up the component list (a number are broken). Not sure if Knime has some sort of practices for validating or cleaning things up… definitely should highlight/prioritize Knime created/reviewed components on the site search or do something to physically/visually separate them to avoid user confusion.
I actually pulled down the wrong one in the exercise… only realized when I looked at the paths of the other Components with he same name.
You’re right to raise this issue and it’s one we are aware of. In the future, we plan to implement some filtering and sort options to make it more clear which components are official KNIME versions, and which have been modified and uploaded by the community.
I loved this philosophy… That way you can spread out developing new capabilities that might be more niche that your internal Dev team can’t devote sprints to… The community can help each other. But it’s a double edged sword… there might be alot of junk as it get popular and thing may no longer be supported because the author moved on. I think if you all take a look at some other feature/software market places (SFDC app exchange and git hub) you can adopt some of those practices.