-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
728 lines (723 loc) · 30 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=800">
<meta name="description" content="Monthly updated interactive statistics of OpenStreetMap.">
<title>OpenStreetMap Statistics</title>
<link rel='icon' type='image/x-icon' href='assets/favicon.ico' />
<link rel="stylesheet" type="text/css" href="assets/statistic_website.css">
<script src="assets/statistic_website.js"></script>
<script src="assets/plotly-custom.min.js"></script>
<script defer data-domain="piebro.github.io/openstreetmap-statistics"
src="https://plausible.io/js/script.js"></script>
</head>
<script>
topics = {
General: {
"How many people are contributing each month?": {
url_hash: "63f6",
content_functions: [
add_single_line_plot("contributors per month", "general_contributor_count_monthly"),
add_single_line_plot("new contributors per month", "general_new_contributor_count_monthly"),
add_multi_line_plot(
"contributors with more than k edits total",
"general_contributor_count_more_the_k_edits_monthly",
"contributors",
),
],
},
"Why is there rapid growth in monthly contributors in 2016?": {
url_hash: "21d9",
content_functions: [
add_text(
"That's because a lot of new people were contributing using the maps.me app. Looking at the plot of" +
" monthly contributors not using maps.me shows that there is linear growth. It is also worth noting" +
" that vast majority of maps.me mappers made only few edits. And due to definciencies in provided" +
" editor quality of their edits was really low.",
),
add_single_line_plot(
"contributors per month without maps.me contributors",
"general_no_maps_me_contributor_count_monthly",
),
],
},
"How many edits are from users from which year?": {
url_hash: "d993",
content_functions: [
add_multi_line_plot(
"edit count of users depending in which year their first edit was",
"general_contributor_count_attrition_rate_yearly",
"edits",
{ on_top_of_each_other: true, bar_chart: true },
),
add_multi_line_plot(
"percent of edits of users depending in which year their first edit was",
"general_contributor_count_attrition_rate_yearly_percent",
"%",
{ percent: true, on_top_of_each_other: true, bar_chart: true },
),
add_multi_line_plot(
"edits of users depending in which year their first edit was",
"general_contributor_count_attrition_rate_yearly",
"edits",
{ reverse_y_names: true },
),
],
},
"How many edits are added each month/year?": {
url_hash: "fe79",
content_functions: [
add_single_line_plot("edits per month", "general_edit_count_monthly"),
add_single_line_plot("edits per year", "general_edit_count_yearly_only_full_years"),
],
},
"What's the total amount of contributors, edits and changesets over time?": {
url_hash: "7026",
content_functions: [
add_single_line_plot(
"total contributor count",
"general_new_contributor_count_monthly_accumulated",
"contributors",
),
add_single_line_plot("total edit count", "general_edit_count_monthly_accumulated", "edits"),
add_single_line_plot(
"total changeset count",
"general_changeset_count_monthly_accumulated",
"changesets",
),
],
},
"Where are edits made?": {
url_hash: "727b",
content_functions: [add_map_plot("total edits", "general_edit_count_map_total")],
},
"Where are edits made each year?": {
url_hash: "bd16",
content_functions: [add_multiple_map_plots("general_edit_count_maps_yearly")],
},
"What's the median edit count per contributor each month?": {
url_hash: "a3ed",
content_functions: [
add_single_line_plot(
"median number of edits per contributor per month",
"general_edit_count_per_contributor_median_monthly",
),
add_single_line_plot(
"median number of edits per contributor per month since 2010",
"general_edit_count_per_contributor_median_monthly_since_2010",
),
],
},
},
"Editing Software": {
"How many people are contributing per editing software each month?": {
url_hash: "c229",
content_functions: [
add_multi_line_plot(
"monthly contributor count per editing software",
"created_by_top_10_contributor_count_monthly",
"contributors",
),
add_multi_line_plot(
"monthly new contributor count per editing software",
"created_by_top_10_new_contributor_count_monthly",
"contributors",
),
add_table(
"yearly contributor count per editing software",
"created_by_top_100_contributor_count_yearly_total",
"years",
"Editing Software",
"created_by_name_to_link",
),
],
},
"How popular is each editing software per month?": {
url_hash: "158c",
content_functions: [
add_multi_line_plot(
"percent of contributors that use each editing software per month",
"created_by_top_10_contributor_count_monthly_percent",
"%",
(percent = true),
),
],
},
"Which editing software is used for the first edit?": {
url_hash: "7662",
content_functions: [
add_multi_line_plot(
"monthly first editing software contributor count",
"created_by_top_10_contributor_count_first_changeset_monthly",
"contributors",
),
],
},
"How many edits are added per editing software each month?": {
url_hash: "eb30",
content_functions: [
add_multi_line_plot(
"monthly edit count per editing software",
"created_by_top_10_edit_count_monthly",
"edits",
),
add_table(
"yearly edit count per editing software",
"created_by_top_100_edit_count_yearly_total",
"years",
"Editing Software",
"created_by_name_to_link",
),
],
},
"What's the market share of edits per month?": {
url_hash: "a008",
content_functions: [
add_multi_line_plot(
"percent of edits that use each editing software per month",
"created_by_top_10_edit_count_monthly_percent",
"%",
{ percent: true, on_top_of_each_other: true },
),
],
},
"What's the total amount of contributors, edits and changesets of editing software over time?": {
url_hash: "6320",
content_functions: [
add_multi_line_plot(
"total contributor count of editing software",
"created_by_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of editing software",
"created_by_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of editing software",
"created_by_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
"What kind of devices are used for mapping?": {
url_hash: "8ba9",
content_functions: [
add_multi_line_plot(
"monthly contributor count per device",
"created_by_device_type_contributor_count_monthly",
"contributors",
),
add_multi_line_plot(
"monthly edit count per device",
"created_by_device_type_edit_count_monthly",
"edits",
),
add_multi_line_plot(
"market share of edit per device",
"created_by_device_type_edit_count_monthly_percent",
"%",
{ percent: true, on_top_of_each_other: true },
),
],
},
},
Corporations: {
"How many edits are added from corporations each month?": {
url_hash: "7034",
content_functions: [
add_single_line_plot(
"percent of edits from corporation per month",
"corporation_top_100_edit_count_monthly_sum_top_k_percent",
{ percent: true },
), //, y_column_name: "%"}),
],
},
"Which corporations are contributing how much?": {
url_hash: "b34d",
content_functions: [
add_multi_line_plot(
"monthly edits per corporation",
"corporation_top_10_edit_count_monthly",
"edits",
),
add_table(
"monthly edits per corporation",
"corporation_top_100_edit_count_yearly_total",
"years",
"Corporation",
"corporation_name_to_link",
),
],
},
"What's the total amount of contributors, edits and changesets from corporations over time?": {
url_hash: "4ef4",
content_functions: [
add_multi_line_plot(
"total contributor count of corporations",
"corporation_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of corporations",
"corporation_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of corporations",
"corporation_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
"Where are the top 10 corporations contributing?": {
url_hash: "e19b",
content_functions: [add_multiple_map_plots("corporation_top_10_edit_count_maps_total")],
},
"Where are the top 10 to 20 corporations contributing?": {
url_hash: "f28a",
content_functions: [add_multiple_map_plots("corporation_top_10_to_20_edit_count_maps_total")],
},
"Where are the top 20 to 30 corporations contributing?": {
url_hash: "519c",
content_functions: [add_multiple_map_plots("corporation_top_20_to_30_edit_count_maps_total")],
},
"Where are the top 30 to 40 corporations contributing?": {
url_hash: "2079",
content_functions: [add_multiple_map_plots("corporation_top_30_to_40_edit_count_maps_total")],
},
},
Source: {
"How often is the 'source' tag used?": {
url_hash: "9267",
content_functions: [
add_single_line_plot(
"monthly percent of edits that use at least one source tag",
"source_edit_count_monthly_percent",
{ percent: true },
),
],
},
"How many contributors use which source each month?": {
url_hash: "6c08",
content_functions: [
add_multi_line_plot(
"monthly contributor count per source",
"source_top_10_contributor_count_monthly",
"contributors",
),
add_table(
"yearly contributor count per source",
"source_top_100_contributor_count_yearly_total",
"years",
"Corporation",
"imagery_and_source_name_to_link",
),
],
},
"How many edits does each source have per month?": {
url_hash: "daf4",
content_functions: [
add_multi_line_plot(
"monthly edit count per source",
"source_top_10_edit_count_monthly",
"edits",
),
add_table(
"yearly edit count per source",
"source_top_100_edit_count_yearly_total",
"years",
"Source",
"imagery_and_source_name_to_link",
),
],
},
"What's the total amount of contributors, edits and changesets of sources over time?": {
url_hash: "7e84",
content_functions: [
add_multi_line_plot(
"total contributor count of sources",
"source_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of sources",
"source_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of sources",
"source_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
},
"Imagery Service": {
"How popular are imagery services?": {
url_hash: "4f2c",
content_functions: [
add_single_line_plot(
"monthly percent of edits that use at least one imagery tag",
"imagery_edit_count_monthly_percent",
{ percent: true },
),
add_text(
"This graph is based on imagery tag set automatically by iD, Vespucci and Go Map!!. As other editors are" +
" not using it and iD is vastly more popular than other relevant editors this graph is very close to" +
" 'market share of iD by edit volume'. JOSM users are typically using source field to note actually" +
" used sources.",
),
],
},
"How many contributors does each imagery service have per month?": {
url_hash: "5bc5",
content_functions: [
add_multi_line_plot(
"monthly contributor count per imagery software",
"imagery_top_10_contributor_count_monthly",
"contributors",
),
add_table(
"yearly contributor count per imagery software",
"imagery_top_100_contributor_count_yearly_total",
"years",
"Imagery Software",
"imagery_and_source_name_to_link",
),
],
},
"How many edits does each imagery service have per month?": {
url_hash: "af79",
content_functions: [
add_multi_line_plot(
"monthly edit count per imagery service",
"imagery_top_10_edit_count_monthly",
"edits",
),
add_table(
"yearly edit count per imagery software",
"imagery_top_100_edit_count_yearly_total",
"years",
"Imagery Software",
"imagery_and_source_name_to_link",
),
],
},
"What's the total amount of contributors, edits and changesets of imagery services over time?": {
url_hash: "327d",
content_functions: [
add_multi_line_plot(
"total contributor count of imagery services",
"imagery_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of imagery services",
"imagery_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of imagery services",
"imagery_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
},
Hashtags: {
"How popular are hashtags?": {
url_hash: "2e20",
content_functions: [
add_single_line_plot(
"percent of monthly edits that use at least one hashtag",
"hashtag_edit_count_monthly_percent",
{ percent: true },
),
add_single_line_plot(
"percent of monthly contributors that use at least one hashtag",
"hashtag_contributor_count_monthly_percent",
{ percent: true },
),
],
},
"How many contributors does each hashtag have per month?": {
url_hash: "bd85",
content_functions: [
add_multi_line_plot(
"monthly contributor count per hashtag",
"hashtag_top_10_contributor_count_monthly",
"contributors",
),
add_table(
"yearly contributor count per hashtag",
"hashtag_top_100_contributor_count_yearly_total",
"years",
"Hashtag",
),
],
},
"How many edits does each hashtag have per month?": {
url_hash: "f0e6",
content_functions: [
add_multi_line_plot(
"monthly edit count per hashtag",
"hashtag_top_10_edit_count_monthly",
"edits",
),
add_table(
"yearly edit count per hashtag",
"hashtag_top_100_edit_count_yearly_total",
"years",
"Hashtag",
),
],
},
"What's the total amount of contributors, edits and changesets of hashtags over time?": {
url_hash: "4b4a",
content_functions: [
add_multi_line_plot(
"total contributor count of hashtags",
"hashtag_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of hashtags",
"hashtag_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of hashtags",
"hashtag_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
"Where are the top 10 hashtags used?": {
url_hash: "bea0",
content_functions: [add_multiple_map_plots("hashtag_top_10_edit_count_maps_total")],
},
},
StreetComplete: {
"How popular is StreetComplete in the OSM community?": {
url_hash: "465b",
content_functions: [
add_text(
"<a href='https://streetcomplete.app/'>StreetComplete</a> is an Android app where editing is done by" +
" answering predefined questions called 'quests'. This editor is much simpler to use than alternatives" +
", but does not allow freeform editing. For example, adding missing opening hours is really easy, but" +
" you cannot map a missing road.",
),
add_single_line_plot(
"percent of contributors that use streetcomplete per month",
"streetcomplete_contributor_count_monthly_percent",
{ percent: true },
),
add_single_line_plot(
"contributors that use streetcomplete per month",
"streetcomplete_contributor_count_monthly",
),
add_single_line_plot(
"percent of edits made with streetcomplete per month",
"streetcomplete_edit_count_monthly_percent",
{ percent: true },
),
add_single_line_plot(
"edits made with streetcomplete per month",
"streetcomplete_edit_count_monthly",
),
],
},
"How many edits does each quest have?": {
url_hash: "6773",
content_functions: [
add_table(
"yearly edit count per quest",
"streetcomplete_top_300_edit_count_yearly_total",
"years",
"StreetComplete Quest",
),
],
},
"What's the total amount of contributors and edits of the top quests over time?": {
url_hash: "d06d",
content_functions: [
add_multi_line_plot(
"total contributor count of quests",
"streetcomplete_top_10_new_contributor_count_monthly_accumulated",
"contributors",
),
add_multi_line_plot(
"total edit count of quests",
"streetcomplete_top_10_edit_count_monthly_accumulated",
"edits",
),
add_multi_line_plot(
"total changeset count of quests",
"streetcomplete_top_10_changeset_count_monthly_accumulated",
"changesets",
),
],
},
"Where is StreetComplete used the most?": {
url_hash: "52ed",
content_functions: [add_map_plot("total edits", "streetcomplete_edit_count_map_total")],
},
},
Bot: {
"How often are edits created with the help of bots?": {
url_hash: "785b",
content_functions: [
add_single_line_plot(
"percent of edits created with a bot per month",
"bot_edit_count_monthly_percent",
{ percent: true },
),
add_single_line_plot("edits created with a bot per month", "bot_edit_count_monthly"),
],
},
"What's the total amount of contributors, edits and changesets that use bots over time?": {
url_hash: "0725",
content_functions: [
add_single_line_plot(
"total contributor count that used a bot",
"bot_new_contributor_count_monthly_accumulated",
),
add_single_line_plot(
"total edit count that used a bot",
"bot_edit_count_monthly_accumulated",
),
add_single_line_plot(
"total changeset count that used a bot",
"bot_changeset_count_monthly_accumulated",
),
],
},
"How many distinct users use bots per month?": {
url_hash: "da7d",
content_functions: [
add_single_line_plot("contributors using bots per month", "bot_contributor_count_monthly"),
],
},
"Where are bots used?": {
url_hash: "ed95",
content_functions: [add_map_plot("total edits", "bot_edit_count_map_total")],
},
"What's the average edit count per changeset over time?": {
url_hash: "ae72",
content_functions: [
add_single_line_plot(
"average number of edits per changeset per month using bots",
"bot_avg_edit_count_per_changeset_monthly",
), //, "average number of edits per changeset")
],
},
"What are the most used bot tools?": {
url_hash: "e985",
content_functions: [
add_table(
"yearly edit count per bot",
"bot_created_by_top_100_edit_count_yearly_total",
"years",
"Bot",
"created_by_name_to_link",
),
],
},
},
Tags: {
"What are the most popular tags for changesets?": {
url_hash: "b370",
content_functions: [
add_multi_line_plot(
"percent of occurrence of tag in changesets per month",
"all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"occurrence of tag in changesets per month",
"all_tags_top_10_changeset_count_monthly",
"changesets",
),
add_table(
"yearly occurrence of tag in changesets",
"all_tags_top_100_changeset_count_yearly_total",
"years",
"Tag",
),
],
},
"What are the most popular tags for changesets per selected editing software?": {
url_hash: "2fb7",
content_functions: [
add_text(
"In general the changeset tags are set by the editing software. That's why its interesting to look at" +
" the tag usage per editing software.",
),
// TODO: maybe save them all in one .json. This would be a cleaner I think.
add_multi_line_plot(
"JOSM: percent of occurrence of tag in changesets per month",
"created_by_JOSM_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"iD: percent of occurrence of tag in changesets per month",
"created_by_iD_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"Potlatch: percent of occurrence of tag in changesets per month",
"created_by_Potlatch_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"StreetComplete: percent of occurrence of tag in changesets per month",
"created_by_StreetComplete_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"Rapid: percent of occurrence of tag in changesets per month",
"created_by_Rapid_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
add_multi_line_plot(
"Vespucci: percent of occurrence of tag in changesets per month",
"created_by_Vespucci_all_tags_top_10_changeset_count_monthly_percent",
"%",
{ percent: true },
),
],
},
},
};
</script>
<body onload="init(topics)">
<h2>OpenStreetMap Statistics</h2>
<div class="textDiv" style="padding-top: 0;">
The <a href="https://github.com/piebro/openstreetmap-statistics">code</a> for creating the plots is open source.
There is also some documentation describing the <a
href="https://github.com/piebro/openstreetmap-statistics#methodology">methodology</a> and what to consider
when interpreting the data. Check out this <a
href="https://piebro.github.io/openstreetmap-statistics/jupyter_lite/retro/notebooks/?path=custom_plots_browser.ipynb">notebook</a>
to create your own custom plots in a browser.
</div>
<div>
<select onchange="on_change_select_0(topics)" id="select_0"></select>
<select onchange="on_change_select_1(topics)" id="select_1"></select>
</div>
<div id="data"></div>
<div>
<button id="save_plot_btn">save plot(s)</button>
<button id="save_data_btn">save data</button>
</div>
</br>
</body>
</html>