I'm trying to create d3.js graphs inside of my bubblechart.hbs file. The data that I want to create the graph with is passed from the server and it is an array of objects. When I try to use this array of objects in my hbs file as handlebars variables (e.g {{ graph.height}}), the graph is not shown. Is there a way to pass json data to handlebars file and use it while generating graphs with d3.js?
Asked
Active
Viewed 59 times
0
Stephen Ostermiller
- 21,408
- 12
- 81
- 104
-
Perhaps this post can help: https://stackoverflow.com/a/64419864/3397771 – 76484 Sep 07 '21 at 00:56