another json example with multiple columns
[barcat.git] / graph
diff --git a/graph b/graph
index 373bbfdef4fc9424664201bbd1446b285d6fce10..8bf473ddd4e8440b69771479ad4e2506dd92dfcc 100755 (executable)
--- a/graph
+++ b/graph
@@ -254,6 +254,11 @@ Movies per year from prepared JSON data:
     curl https://github.com/prust/wikipedia-movie-data/raw/master/movies.json |
     jq '.[].year' | uniq -c | graph
 
+Pokémon height comparison:
+
+       curl https://github.com/Biuni/PokemonGO-Pokedex/raw/master/pokedex.json |
+       jq -r '.pokemon[] | [.height,.num,.name] | join(" ")' | graph
+
 Git statistics, such commit count by year:
 
     git log --pretty=%ci | cut -b-4 | uniq -c | graph