Skip to content

Provides log injection into d3 api functions so you can understand what is happening.

Notifications You must be signed in to change notification settings

capitalist/d3.inlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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.

About

Provides log injection into d3 api functions so you can understand what is happening.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published