@morozgrafix I am referring back to your jsfiddle example: jsfiddle example, and you created an object called
csvData which you refer to in
var data = ...
I was wondering how I would create a similar object, except with the file that I have in my directory. I couldn’t seem to find an HTML DOM function that would allow me to load the .csv file. I looked at the examples for the Compliments module, and they were in
json. So, I saw that I might be able to use Papa Parse to convert the .csv to json and then follow the similar route as the Compliments.
d3 approach loads the data from my csv onto my mirror, but the .css doesn’t seem to help it. It doesn’t appear in a table, and is very large (displaying in the upper left part of the mirror) even when I specified it to load in the middle.
For some context, my .csv data table contains two columns of time-series data for which I want to sum together. And then I just want to output a sentence like, “Your sum is XXX.”