added support for structured data (array of map) in addition to string as csv input. now it also works with d3.js csv