From d247089e45d114b1e5415fb02bcef76f39b6355e Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sun, 10 Sep 2017 14:24:04 -0400 Subject: [PATCH] Update D3.md --- D3.md | 6 ++++++ 1 file changed, 6 insertions(+) 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