blob: 158c45292d184709fd295f8805351f861cb6ae77 (
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 "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 [300:300000];
set ytics (346, 1000, 4771, 10000, 30000, 69147, 100000, 263038);
set datafile separator ",";
plot "dependencies.csv" using 0:2 title "2025 ranking", \
"dependencies_2019.csv" using 0:2 title "2019 ranking";
|