#!/usr/bin/env gnuplot ## SPDX-License-Identifier: CC0-1.0 ## ## Copyright (C) 2025 Woj. Kosior set terminal svg size 800,500 font "DejaVu,sans,14.5"; set output "status-counts.svg"; #set title "Automated hermetized rebuild of top npm Registry packages"; set ylabel "Package count"; set datafile separator ","; set boxwidth 0.5; set style fill solid border -1; set key noautotitle; set xtics rotate by 30 right scale 0; set bmargin 7; set lmargin 11; set rmargin 3.5; set linetype 1 linecolor rgb "0x555555"; set style data boxes; stats "status-counts.csv" using "ID" nooutput; set xrange [STATS_min-0.75:STATS_max+0.75]; plot "status-counts.csv" \ using "ID":"COUNT":xtic(stringcolumn("CATEGORY")), \ "" \ using "ID":(column("COUNT") + 3):"COUNT" with labels;