Hi all,
I am new to web2py and I want to include a d3.js script in a simple view.
I did the following:
In
myapp/views/default/visualizations.html
{{extend 'layout.html'}}
<script src="{{=URL('static','js/d3.js')}}"></script>
<script src="{{=URL('static','js/d3.v3.min.js')}}"></script>
<script type="text/javascript">
.... script text ...
</script>
but when I try the view no d3.js plot appears.
I would really appreciate any help on this.
Of course I have copied the d3.js and d3.v3.min.js scripts in my static/js
folder.
Thanks
--