Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
d3js Cheat Sheet: Add more selection functions
Browse files Browse the repository at this point in the history
  • Loading branch information
vikashvverma committed Jun 19, 2016
1 parent d5f76c6 commit baaab2f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions share/goodie/cheat_sheets/json/d3js.json
Expand Up @@ -84,6 +84,21 @@
}, {
"val": "Set an HTML attribute value on the selection",
"key": "selection.attr()"
}, {
"val": "Filter a selection based on data",
"key": "selection.filter()"
}, {
"val": "Sort elements in the document based on data",
"key": "selection.sort()"
}, {
"val": "Reorders elements in the document to match the selection",
"key": "selection.order()"
}, {
"val": "Add or remove event listeners for interaction",
"key": "selection.on()"
}, {
"val": "Call a function passing in the current selection",
"key": "selection.call()"
}, {
"val": "Set an inline CSS style on the selection",
"key": "selection.style()"
Expand Down

0 comments on commit baaab2f

Please sign in to comment.