Thursday, July 12, 2012

Simple D3 examples to try

I learn by looking at examples and then trying to modify them to do what I want. I've started creating little gists to record how use different features of d3. In case they help others, here is a start. They can all be run in bl.ocks

Processing CSV strings and files and grouping with nest:

  • - processing csv string 
  • - processing csv file 
  • - nesting/grouping to two levels

Drawing Axes:

  • - simplest possible
  • - date axis
  • - prettified, angled date labels and uses extent
  • - rescale an axis using a transition

No comments: