16 posts tagged with "d3"

    August 23, 2014

    D3 has an awesome number formatting function that I discovered only after hacking my own. My first approach was to use string and array…

    March 20, 2014

    D3 lines are rendered using linear interpolation by default. This means that the line connecting a series of points will trace a direct path…

    March 15, 2014

    Changing an element using multiple, chained transitions requires a little troubleshooting. You would think that just chaining them one after…

    March 12, 2014

    With the possible exception of UFOs, things don’t usually switch from being stationary to moving at maximum velocity without an intervening…

    March 08, 2014

    The Why From Object Constancy by Mike Bostock: Animated transitions are pretty, but they also serve a purpose: they make it easier to follow…

    March 06, 2014

    Making things zoom across the page is what I used to think javascript was all about, but it wasn’t until I started learning d3 that I found…

    March 05, 2014

    D3 has an awesome tick library, which makes it easy to customize an axis. I have not found any evidence of a built in function to customize…

    March 04, 2014

    D3 provides powerful functions for manipulating raw data sets, including csv(), nest(), and rollup(). I generated a hundred rows of test…

    March 03, 2014

    Add scales to a d3 plot in three easy steps: 1. Define the scale 2. Draw the scale 3. Apply the scale to your data Awesome.

    February 27, 2014

    Primitives and object literals are not the only things you can bind to a D3 visualization. After all, aren’t javascript functions objects as…

    February 27, 2014

    D3 provides utility functions to perform common operations on Javascript arrays: min max extent (range) sum median mean sort quantile bisect

    February 26, 2014

    When binding a primitive datum to a node in a D3 visualization, the callback function can be implicitly called on the datum without the…

    February 25, 2014

    D3 is a data visualization tool that uses method chaining to produce big pictures with little code. The selection library performs a full…

    February 21, 2014

    D3 uses the W3C standard selector library, and selection modifiers work on both single and multiple element selections, and will…

    February 20, 2014

    The variable is a hidden parameter in javascript functions that contains all the arguments for the invocation in a pseudo-array (ie: it…

© Katie Leonard 2025