Using jquery with nvd3

Using jquery with nvd3

Hi,

I'm using nvd3 library to create charts for a dashboard and i don't know how many charts will be inserted in my html file, so i've created a function that based on the info that the server returns i generate the chart code and add it to my file. 

My problem is that nvd3 uses d3.js for the charts and it uses svg to display them. What i want to do is just show the chart (line, bar, pie, etc).

How can i do it using both librarys?

Thk