blob: ecab14167bc75676bdb1f0ce4f71755b518c55e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env gnuplot
## SPDX-License-Identifier: CC0-1.0
##
## Copyright (C) 2025 Woj. Kosior <koszko@koszko.org>
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;
|