I'm not clear on how to define asynchronous callbacks. I tried the function (gotData) below but that doesn't work (never gets invoked).
(d3.csv CSV gotData)
(var gotData
(function (err data)
(if err
(throw err)
(console.log data))))
Thanks in advance.