All examples By author By category About

nstrayer

like svg-crowbar, but for multiple svg elements!

  1. Paste multi-crowbar.js into the browser developer console
  2. Call multiCrowbar function and pass a selector for the container div
multiCrowbar(".my-chart")

if you want to include html labels or captions you can pass another selector as second argument

multiCrowbar(".my-chart", "h2.my-caption")