This method has been deprecated. New custom visualisations can be found in this Github repository.
I tried with a clean install (i.e. nothing in /visualizations) and then ran your script for the sankey chart.
It’s installing everything OK, and the chart works in Looker. However, when I try to download a .png image of the chart, or send it as a mail with visualization, I get the following error. Do you know what it can be? (I added line breaks between the commas to make it easier to read)
Here’s the content of the plugins/visualizations directory:
This is a known issue, Schedules/downloads fail for content that uses custom-vis. Our Eng team is aware of an issue and working on the resolution.
Downloaded the visualizations and made sure they were all in the correct folder, but none of them are showing up as an option in Looker. How do I use them in Looker once they have been added?
I would follow the suggestion of brecht and run
chmod 777, making the file readable, writable and executable by everyone. Once the permissions are correctly set, the additional visualization options should appear as follows in the visualization tab:
Hi Sami. I did that, cleared my cache and restarted Looker, and none of the new visualizations show up
Checked our license server and enabled the feature for you. Can you please go into the Admin > General panel and next to license key hit “Update”?
whats the latest with this?
Currently working on bringing custom visualisations to all hosted Lookers as well, part of that is to avoid any breakage by PhantomJS when rendering. No major updates at the moment, but expect this to land in the next few months. @IanT
Awesome, that worked! Is getting my license updated each time I want to utilize a new feature something that I will need to do every time?
For features that do require license enablement, you will have to hit the “Update” button to reflect the changes made after access is granted.
Thank you Sami. Of course, as soon as I told people about these awesome new charts they started adding them to dashboards that are sent out on schedules. I have a little training to do it seems. Is there any update on when including these custom visualizations will be able to be sent via email on schedules?
yeh we have had to hold off putting them on our instance as we knew this would happen and so it would be worse than not having it at all!
This is something that we are aware of and working on resolving but no updates as to when would that be fully operational. We are in the process of improving our visualisations but no set timeline at the moment.
@IanT @bryanfboutwell @daniel.appelgren Currently, custom visualizations and their dependencies (like utils.js and d3v4.js) need to be written in ES5 to work with PhantomJS. Code can easily be converted with a tool like Babel: https://babeljs.io/repl/. Looker will be migrating to a different rendering engine in the near future which should fix this issue.
Thanks for letting me know. Will take a look and see if we can continue to wait or use your suggestion.
I just installed sankey viz (and its dependencies d3v4, d3.sankey and utils) but when I try to visualize it, it shows nothin but a blank space.
Am I missing some dependency ?
ps: I have already successfully installed some custom viz like (boxplot and area range)