With mapbox, I'm able to populate a JS array and draw a layer in realtime. I'm wondering if, once I pulled a map with createVis in cartodb, I can populate the infowindow with data per shape.
For example I'm pulling (from the PHP) the latest statistics per shape. And I draw/render the cartodb, and I want, on infowindow open, to show that information (so if I have shape id 60, I want corresponding statistics from my local mysql database). Is this possible? Or do I need to store all the data into cartodb and then redraw the map?