File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,25 @@ corona -s active -r
114114
115115[ ![ 📟] ( ./.github/sort.gif )] ( ./../../ )
116116
117- ### Charts: Regular & Logarithmic
117+ ### Bar Charts
118+
119+ ``` sh
120+ # Print bar charts for max 10 countries.
121+ corona --bar
122+ corona -b
123+
124+ # Print bar charts for top 5 countries w.r.t deaths.
125+ corona --bar --sort deaths --limit 5
126+ corona -b -s deaths -l 5
127+
128+ # Print bar charts countries w.r.t recovered cases.
129+ corona --bar --sort recovered
130+ corona -b -s recovered
131+ ```
132+
133+ [ ![ 📟] ( ./.github/bars.gif )] ( ./../../ )
134+
135+ ### Line Charts: Regular & Logarithmic
118136
119137``` sh
120138# Print a country line chart.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ module.exports = async (
3333 ) ;
3434
3535 // Limit.
36- limit = limit > 12 ? 12 : limit ;
36+ limit = limit > 10 ? 10 : limit ;
3737 allCountries = allCountries . slice ( 0 , limit ) ;
3838
3939 let logScale = x => x ;
You can’t perform that action at this time.
0 commit comments