Add jQuery dependency. Add force layout. Add scales to dynamically size nodes and weighted edges.