Daniel d3 fixes

For Topics view:
- Made SVG viewport size dynamic, based on numbers of entries in data (Thanks Jess!)
- D3.js now targets DIV with specific IDs instead of blindly attaching graphs to body of DOM