💾 Archived View for tilde.club › ~filip › tech › script › barchart › barchart.gmi captured on 2023-04-26 at 13:48:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
A bash script that creates a bar-chart from key-value pairs extracted from a TSV file. Variation of /senioradmin.de/'s script<1>.
TSV file `top_native_speakers.tsv`:
Mandarin Chinese\t918 Castilin\t480 English\t379 Hindustani\t341 Bengali\t228 Portuguese\t221 Russian\t154 Japanese\t128 Western Punjabi\t92 Marathi\t83
Output of `./barchart top_native_speakers.tsv`:
Mandarin Chinese ████████████████████████████████████████████████████████████ 918 Castilian ███████████████████████████████ 480 English ████████████████████████ 379 Hindustani ██████████████████████ 341 Bengali ██████████████ 228 Portuguese ██████████████ 221 Russian ██████████ 154 Japanese ████████ 128 Western Punjabi ██████ 92 Marathi █████ 83