Choropleth map - interactive view isn't working!

Hi,
I was trying to run the workflow described here:

I was able to run it but it failed when I tried to open the Interactive view. I then got the following error message:

Anyone have any ideas how to solve this?
Thanks!!

image

Hi @CDPRIN -

Since we published the workflow, Google’s API changed. You can fix this by replacing the code block that loads the Google Javascript API with the following:

// Load Google JavaScript API via jQuery getScript()
$.getScript('https://www.gstatic.com/charts/loader.js')
	.done(function( script, textStatus ) {
		// Load Google corechart package with drawChart() as callback function
		// google.load('visualization', '1', {packages:['corechart'], callback:drawChart});
    		google.charts.load('46', {packages: ['corechart']});
    		google.charts.setOnLoadCallback(drawChart);
	})
	.fail(function( jqxhr, settings, exception ) {
		// Inform user about failure
		alert("Loading Google API failed.");
});

Specifically note the commented out google.load on line 5. The new API call is on the 2 lines just below that.

Sorry for the trouble, we need to update these workflows to reflect the API changes. But this should work in the meantime.

4 Likes

I’m afraid I have tried that solution without success.
I have tried to restart workflow and Knime application as well.

Any other reason why it would fail you think?

Well. Another reset worked after all :slight_smile: Thank you very much!

1 Like

For visualization drill-down purposes. Is it possible to create Choropleth (or other) maps on Scandinavian countries, also down to county & municipal levels?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.