-
- <%= icon 'trending-up' %> Daily Activity
-
-
- <%= column_chart(
- @stat.daily_distance.map { |day, distance_meters|
- [day, Stat.convert_distance(distance_meters, 'km').round]
- },
- height: '200px',
- suffix: " km",
- xtitle: 'Day',
- ytitle: 'Distance',
- colors: [
- '#570df8', '#f000b8', '#ffea00',
- '#00d084', '#3abff8', '#ff5724',
- '#8e24aa', '#3949ab', '#00897b',
- '#d81b60', '#5e35b1', '#039be5',
- '#43a047', '#f4511e', '#6d4c41',
- '#757575', '#546e7a', '#d32f2f'
- ],
- library: {
- plugins: {
- legend: { display: false }
- },
- scales: {
- x: {
- grid: { color: 'rgba(0,0,0,0.1)' }
- },
- y: {
- grid: { color: 'rgba(0,0,0,0.1)' }
- }
- }
- }
- ) %>
-
-
- Peak day: <%= peak_day(@stat) %> • Quietest week: <%= quietest_week(@stat) %>
-
-
+
Countries visited
+
+ <%= countries_visited(@stat) %>
-
-
-
-
-
- <%= icon 'earth' %> Countries & Cities
-
-
- <% @stat.toponyms.each_with_index do |country, index| %>
-
-
- <%= country['country'] %>
- <%= country['cities'].length %> cities
-
-
-
- <% end %>
-
-
-
-
-
-
Cities visited:
- <% @stat.toponyms.each do |country| %>
- <% country['cities'].first(5).each do |city| %>
-
<%= city['city'] %>
- <% end %>
- <% if country['cities'].length > 5 %>
-
+<%= country['cities'].length - 5 %> more
- <% end %>
- <% end %>
-
-
+
+ Different countries
+
+
-
- Powered by
Dawarich, your personal memories mapper.
+
+
+
+
+
+
+
+
+
+
+
+
Loading hexagons...
+
-
-
-
+
+
+
+
+ <%= icon 'trending-up' %> Daily Activity
+
+
+ <%= column_chart(
+ @stat.daily_distance.map { |day, distance_meters|
+ [day, Stat.convert_distance(distance_meters, 'km').round]
+ },
+ height: '200px',
+ suffix: " km",
+ xtitle: 'Day',
+ ytitle: 'Distance',
+ colors: [
+ '#570df8', '#f000b8', '#ffea00',
+ '#00d084', '#3abff8', '#ff5724',
+ '#8e24aa', '#3949ab', '#00897b',
+ '#d81b60', '#5e35b1', '#039be5',
+ '#43a047', '#f4511e', '#6d4c41',
+ '#757575', '#546e7a', '#d32f2f'
+ ],
+ library: {
+ plugins: {
+ legend: { display: false }
+ },
+ scales: {
+ x: {
+ grid: { color: 'rgba(0,0,0,0.1)' }
+ },
+ y: {
+ grid: { color: 'rgba(0,0,0,0.1)' }
+ }
+ }
+ }
+ ) %>
+
+
+ Peak day: <%= peak_day(@stat) %> • Quietest week: <%= quietest_week(@stat) %>
+
+
+
+
+
+
+
+
+ <%= icon 'earth' %> Countries & Cities
+
+
+ <% @stat.toponyms.each_with_index do |country, index| %>
+
+
+ <%= country['country'] %>
+ <%= country['cities'].length %> cities
+
+
+
+ <% end %>
+
+
+
+
+
+
Cities visited:
+ <% @stat.toponyms.each do |country| %>
+ <% country['cities'].first(5).each do |city| %>
+
<%= city['city'] %>
+ <% end %>
+ <% if country['cities'].length > 5 %>
+
+<%= country['cities'].length - 5 %> more
+ <% end %>
+ <% end %>
+
+
+
+
+
+
+
+ Powered by
Dawarich, your personal memories mapper.
+
+
+