Hi all,
It's my first post on this group. In found it through the book Interactive Data Visualisation for the web.
I'm trying to build a web app with node.js and D3. My final goal is visualise data from a dynamoDB data base.
Here is my problem :
I've have a very simple array of data : var dataArray = [ 5, 10, 15 ]
When I defining it in my app.js as a local variable using express like this "app.locals.dataArray = [ 5, 10, 15 ]" it's working perfectly in my default.ejs file.
However I can't use it into my d3 code...
Hope someone can help me.
thanks !