updates to d3 notes

master
Matt Huntington 9 years ago
parent 69a8c48ca1
commit d189ac4f17

@ -118,6 +118,7 @@
- callback will be executed for each DOM element - callback will be executed for each DOM element
- `d` is data for the current element - `d` is data for the current element
- `i` is the index of that element in the array - `i` is the index of that element in the array
- `.exit().remove()` examines visual elements that are not bound to data and removes them
## Linear Scale ## Linear Scale
@ -293,3 +294,8 @@ function dragStart(d){ //d is the data for the dragged object
``` ```
You can use the xScale.invert and yScale.invert to get data from d3.event.x and d3.event.y You can use the xScale.invert and yScale.invert to get data from d3.event.x and d3.event.y
## Basic Layouts
- https://github.com/d3/d3/wiki/Plugins
- http://c3js.org/

Loading…
Cancel
Save