Add custom variables sample code
Create d3js example blog post for SO answer