D3 ver.4でレスポンシブなチャートを描画するサンプル。
「Open」のリンクをクリックしてwindowサイズを変更して試してみてください。
Built with blockbuilder.org