Skip to content

Instantly share code, notes, and snippets.

@benjaminmbrown
Created February 23, 2016 05:43
Show Gist options
  • Save benjaminmbrown/716b187c9ca49abccd1d to your computer and use it in GitHub Desktop.
Save benjaminmbrown/716b187c9ca49abccd1d to your computer and use it in GitHub Desktop.
function render_plots(){
yearRingChart
.width(200).height(200)
.dimension(yearDim)
.group(spendPerYear)
.innerRadius(50);
spenderRowChart
.width(250).height(200)
.dimension(nameDim)
.group(spendPerName)
.elasticX(true);
dc.renderAll();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment