jsPsych and d3 integration issue #392
Replies: 6 comments
-
Can you provide more information about how you have set this up? In general, the trial data can be set:
|
Beta Was this translation helpful? Give feedback.
-
There is a csv connected to the graph which is the data file. The data file has the speed and time and as you click the points, it rotates through four different colors which will be representative of the labels. How can we generate a CSV file based on the colors that are selected for every point on the graph? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I'm still not understanding the setup. Are you recording data in the jsPsych data object, or separately via d3? |
Beta Was this translation helpful? Give feedback.
-
Sorry about that. So we want to know how to capture the users' answers of the colors of all. these points in the graph using |
Beta Was this translation helpful? Give feedback.
-
You may have to write a new plugin to do this, because the data you want to capture will only exist in the application during the trial. This rules out using the The other strategy would be to set up some global variables that are modified by the d3 interactions, and then use the |
Beta Was this translation helpful? Give feedback.
-
Thank you for the pointers Josh. We will start working on maybe capture workers data from the d3 end. |
Beta Was this translation helpful? Give feedback.
-
We are trying to create an experiment for labeling states of a trip on a graph by changing the color of the points. How can we capture each point's information (for example the color) using jsPsych.data?
Beta Was this translation helpful? Give feedback.
All reactions