use Matplotlib::Simple 'plot'; plot({ 'output.filename' => 'svg/single.barplot.svg', data => { # simple hash Fri => 76, Mon => 73, Sat => 26, Sun => 11, Thu => 94, Tue => 93, Wed => 77 }, 'plot.type' => 'bar', xlabel => '# of Days', ylabel => 'Count (Applications)', title => 'Rejections by Days', });