Realised that it's better to request a title and not display if empty.
Added switch for d3 support for svg animation and graphics