d3.sankey is not a function

707 views
Skip to first unread message

Rohan Natraj

unread,
Nov 19, 2015, 10:27:05 PM11/19/15
to Google Visualization API
I am working with the Google Sankey Diagram and am able to successfully implement the chart. However, if I refresh the page on which I have implemented the Sankey Diagram, I receive the error "d3.sankey is not a function" and the Sankey Diagram does not render. I am loading the following google visualization service to power the chart: 
google.load("visualization", "1.1", {packages:["sankey"]})

I am using Chrome (Version 46.0.2490.80) on a Macbook Pro OS X Yosemite.


Sergey Grabkovsky

unread,
Nov 20, 2015, 10:21:28 AM11/20/15
to Google Visualization API
Hi Rohan,

I'm not seeing this issue. Here is a jsfiddle of me attempting to reproduce it: http://jsfiddle.net/j9oo8van/

I'm using Chrome (Version 47.0.2526.69 beta) on a Mac Pro OS X El Capitan.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/ec860fae-8ffd-4f92-a2a6-c543d8b70699%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com
Reply all
Reply to author
Forward
0 new messages