different users accessing a d3 object on the same page but with different data
-
Hello! Thank you for the plugin. It is really helpfull at least for introducing d3 in wordpress.
After using the plugin for a while I came up to the following situation and I would like some feedback from the support forum. Here is the case:
Assume that two different users (user A and user B) of a wordpress site would like to access the same page. Assume also that this page contains a d3 object (say a barchart), and each user is able to provide its own data (and in a way upload the .csv – or .tsv file to the site -another issue here but say this is solved in an automated way for now-).
So the problem is the following: Since the d3 barchart is a data driven document, it can 99.99% be the case that user A’s data is different than user B’s data. So how the two different users will be able to access the same page that would contain these two different (in data) barcharts?
Thank you very much.
PS. A “theoretical” workaround can be the following: For each user build a dedicated page and there include the d3 object. However and since through the plugin, including a d3 object is a totally semi-automatic way (click the link in the View editor, paste your d3 code, upload the .csv, .css, .js files, save chart etc.) it would be a nightmare to create for every single user a new such page. Things also propagate even further if you plan on having more than one or two of such pages and you would like this customization for your users.
- The topic ‘different users accessing a d3 object on the same page but with different data’ is closed to new replies.