D3 and jQuery Interoperability

Introduction D3 and jQuery utilize distinctly different approaches to node manipulation and internal array storage. However, there are mechanisms available for converting between D3 and jQuery, and vice versa. D3 and jQuery Internals Let’s assume the following HTML structure: Now let’s retrieve the “test-node” elements with jQuery: As can be Read more…

Advanced JavaScript Notation

Forword The following javascript examples and notation demonstrate a few alternatives to well known methods for common tasks. Advanced Notation Tilde Operator The tilde operator ~ literally equates to -(n+1).  For example: Large Denary Numbers Large denary numbers can be represented in short hand notation using the e operator.  For Read more…