A guided tour on implementing visualization modules with dynamic datasets It is common to remove the existing Scalable Vector Graphics (SVG) element by calling d3.select('#chart').remove(), before rendering a new chart.