#!/usr/bin/env gnuplot ## SPDX-License-Identifier: CC0-1.0 ## ## Copyright (C) 2025 Woj. Kosior 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";