File:Mesas Gonzalez To Maduro Ratio Data Release Version1.svg
The file can be produced as follows from the source file with sha512sum
933b49ea7aaadbe1484ef2b85f1392e8188542994870fc850cc602269df5933ec6ac6e5518e4a3fa72ab023122bcf58828a02b91bd97f8e1acd94639d332503e
.
#!/bin/bash # VE_csv_plots.sh Copyright (C) 2024 CC-BY SA 4.0 Boud Roukema # See https://creativecommons.org/licenses/by-sa/4.0 for details. # apt-get install plotutils # to install 'graph' MESAS_FILE=RESULTADOS_2024_CSV_V1.csv TITLE="" VERSION="data_release_version1" N_VALUES=$(tail -n +2 ${MESAS_FILE} | wc -l) printf "mesas: N_VALUES=${N_VALUES}\n" XLAB="registered voters" FONT="HersheySerif" FSIZE=0.04 MARGINS="-r 0.15 -w 0.8 -u 0.1 -h 0.85" tail -n +2 ${MESAS_FILE} | awk -F ',' '{print $9,$12/$13}' \ | graph -Tsvg -m 0 -S 1 -L "${TITLE}" -X "${XLAB}" -F ${FONT} -f ${FSIZE} ${MARGINS} \ -ly \ -Y "Gonzalez/Maduro" > mesas_Gonzalez_to_Maduro_ratio_${VERSION}.svg