Javascript Compilation for migration of D3 js v3 to v4
<p>I am using D3 js V3 for my application (Javascript charting library). I am using mainly for creating charts and almost used many modules like selections, axis, scale, svg, transition, animations, layouts etc. </p>

<p>Now I want to migrate into new Version 4 of D3 js. I have checked release notes and API reference for V4. Still i found difficult for my application to get migrated to V4 since there are many API changes. </p>

<p>So my question, Is there any way to compile my application with D3 js, So that i can avoid errors getting in Runtime environment.</p>