aboutsummaryrefslogtreecommitdiff
path: root/dev_dependee_counts.gnuplot
blob: 55010e4f168b9fd970bccaa3132e1c280192ff41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env gnuplot

## SPDX-License-Identifier: CC0-1.0
##
## Copyright (C) 2025 Woj. Kosior <koszko@koszko.org>

set terminal svg size 800,400 font "DejaVu,sans,14.5";
set output "dev_dependee_counts.svg";
set ylabel "Uses count";
set xlabel "Top npm dependencies ranking position";
set key;
set linetype 1 linecolor rgb "0x333333";
set linetype 2 linecolor rgb "0x333333" dashtype 2;
set style data lines;
set grid;
set logscale y;
set yrange [2000:1000000];
set ytics (2185, 3000, 10000, 30000, 100000, 263038, 840161);
set datafile separator ",";
plot "devDependencies.csv" using 0:2 title "development dependencies", \
     "dependencies.csv" using 0:2 title "runtime dependencies";