A bit of a revision to this question:
I see from File Attachments that I can render CSV data by converting it to text, as follows:
named_cell = FileAttachment("example.csv").text()
But then to parse these data, I have to run d3.csvParse(named_cell)
.
Can I avoid the two-step process and do this in a single cell?
Neither of these attempts work:
d3.csvParse(FileAttachment("myFile.csv"))
d3.csv(FileAttachment("myFile.csv"))