Understand what's going on under the hood of your monster d3 method chains.
- Include it:
<script type="text/javascript" src="https://raw.github.com/capitalist/d3.inlog/master/d3.inlog.js"></script>
- Enable it:
d3.inlog(true)
- Shut it back off:
d3.inlog(false)
This sucker spews a lot of console messages. It will make your transitions choppy if you leave it on during transitions.
I just cranked this sucker out, but I like where it's going. I am going to root around in d3 and much more of its semantics to the console messages.
Want to see something specific? Open an issue.
- First, major props to Mike Bostock for d3 of course.
- Second, the concept and initial implementation was lifted from Prinzhorn's jQuery-inlog.
- Last but not least, you, thanks for looking.