Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.2 KB

d3.inlog

Understand what's going on under the hood of your monster d3 method chains.

Usage

  1. Include it: <script type="text/javascript" src="https://raw.github.com/capitalist/d3.inlog/master/d3.inlog.js"></script>
  2. Enable it: d3.inlog(true)
  3. Shut it back off: d3.inlog(false)

Example

Area Chart

Warnings

This sucker spews a lot of console messages. It will make your transitions choppy if you leave it on during transitions.

TODO

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.

Credits

  • 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.