diff --git a/D3.md b/D3.md index 9b68978..f03dd0d 100644 --- a/D3.md +++ b/D3.md @@ -37,6 +37,12 @@ d3.selectAll('div').classed('frog', false); //removes the class and returns the d3.selectAll('div').append('span'); //append html to a selection and return appended element ``` +### .remove() + +```javascript +d3.selectAll('div').remove(); //remvoe selection +``` + ### .html() ```javascript