score:3

Accepted answer

Not tested the below code :hope it helps In your XX.gsp

<script>
var url = "${createLink(controller:'yourControllerName',action: 'graph') }";
d3.json( url , function(error, graph) {...[more code here]...}
</script>

Related Query

More Query from same tag