block by shawnbot 38516ee593902680fd79d7020dbca4c0

Bar charts in Sketch? Yep.

This is a Sketch script to make bar charts.

bars

Here’s how to run it:

  1. Make a selection of only shapes with names in the format:

    (anything)value={number}
  2. Press Ctrl-Shift-K to bring up the “Run Custom Script” dialog.

  3. Copy and paste the script into the top text area.

  4. Press the Run button.

  5. Profit!

bars.cocoascript.js