3 ms·
Author here. I started last friday and learned on this whole journey. First I started to mess with `jq` to convert the CSV files on a more friendly format (JSO
by milhouse1337 7y ago
Author here.
I started last friday and learned on this whole journey. First I started to mess with `jq` to convert the CSV files on a more friendly format (JSON). Then I figured that `D3.js` can parse CSV files and transform the data on the fly.
Let me know what you think. I will try to add a few features on the next hours/days.
Thank you!
- app4soft 7y ago> Let me know what you think. Just tried it - looks nice! Feature request: add date/time as text string at the top of output table table: $ curl https://corona-stats.online/ Last updated: Monday (March 16, 2020) 19:00 GMT (UTC+0) ╔═════╤═══════════════════════════════════════╤═══════════╤═══════════╤════════╤════════╤═════════════╤═════════════╤══════════╤══════════╗ ║ │ Country │ Confirmed │ Recovered │ Deaths │ Active │ Mortality % │ Recovered % │ 1 Day ▲ │ 1 Week ▲ ║ ╟─────┼───────────────────────────────────────┼───────────┼───────────┼────────┼────────┼─────────────┼─────────────┼──────────┼──────────╢ ║ │ World │ 167,449 │ 76,034 │ 6,440 │ 84,975 │ 3.85 │ 45.41 │ 11,352 ▲ │ 57,654 ▲ ║ ╟─────┼───────────────────────────────────────┼───────────┼───────────┼────────┼────────┼─────────────┼─────────────┼──────────┼──────────╢
- milhouse1337 7y agoGreat idea. Thank you!
- app4soft 7y agoOh, seems I posted in 'wrong' thread, as request was for originally for this: - https://news.ycombinator.com/item?id=22593168 https://news.ycombinator.com/item?id=22593168 Anyway, your project also is great! ;)