aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <mohammad.anwar@yahoo.com>2022-10-30 18:51:17 +0000
committerMohammad S Anwar <mohammad.anwar@yahoo.com>2022-10-30 18:51:17 +0000
commit3acb661908dceba0acb176f032487761f94a008f (patch)
tree97a2275862035a1e6ce89f4de9ffb5af9203287c
parent30d95a083b6b7bab40b800221f9d19bf22f69a03 (diff)
downloadperlweeklychallenge-club-3acb661908dceba0acb176f032487761f94a008f.tar.gz
perlweeklychallenge-club-3acb661908dceba0acb176f032487761f94a008f.tar.bz2
perlweeklychallenge-club-3acb661908dceba0acb176f032487761f94a008f.zip
- Added solutions by Laurent Rosenfeld.
-rw-r--r--challenge-188/laurent-rosenfeld/blog.txt1
-rw-r--r--challenge-188/laurent-rosenfeld/perl/ch-1.pl17
-rw-r--r--challenge-188/laurent-rosenfeld/perl/ch-2.pl18
-rw-r--r--challenge-188/laurent-rosenfeld/raku/ch-1.raku10
-rw-r--r--challenge-188/laurent-rosenfeld/raku/ch-2.raku13
-rw-r--r--stats/pwc-current.json495
-rw-r--r--stats/pwc-language-breakdown-summary.json80
-rw-r--r--stats/pwc-language-breakdown.json1260
-rw-r--r--stats/pwc-leaders.json734
-rw-r--r--stats/pwc-summary-1-30.json104
-rw-r--r--stats/pwc-summary-121-150.json46
-rw-r--r--stats/pwc-summary-151-180.json36
-rw-r--r--stats/pwc-summary-181-210.json40
-rw-r--r--stats/pwc-summary-211-240.json108
-rw-r--r--stats/pwc-summary-241-270.json32
-rw-r--r--stats/pwc-summary-271-300.json58
-rw-r--r--stats/pwc-summary-31-60.json40
-rw-r--r--stats/pwc-summary-61-90.json26
-rw-r--r--stats/pwc-summary-91-120.json30
-rw-r--r--stats/pwc-summary.json46
20 files changed, 1638 insertions, 1556 deletions
diff --git a/challenge-188/laurent-rosenfeld/blog.txt b/challenge-188/laurent-rosenfeld/blog.txt
new file mode 100644
index 0000000000..4f5e8ecfa1
--- /dev/null
+++ b/challenge-188/laurent-rosenfeld/blog.txt
@@ -0,0 +1 @@
+http://blogs.perl.org/users/laurent_r/2022/10/perl-weekly-challenge-188-divisible-pairs-and-total-zero.html
diff --git a/challenge-188/laurent-rosenfeld/perl/ch-1.pl b/challenge-188/laurent-rosenfeld/perl/ch-1.pl
new file mode 100644
index 0000000000..3b44644d29
--- /dev/null
+++ b/challenge-188/laurent-rosenfeld/perl/ch-1.pl
@@ -0,0 +1,17 @@
+use strict;
+use warnings;
+use feature qw/say/;
+
+for my $test ([2, [<4 5 1 6>]], [2, [<1 2 3 4>]],
+ [3, [<1 3 4 5>]], [4, [<5 1 2 3>]],
+ [4, [<7 2 4 5>]], [2, [< 1 2 3 4 5 6 7 >]]) {
+ my $k = $test->[0];
+ my @list = @{$test->[1]};
+ my $count = 0;
+ for my $i (0..$#list) {
+ for my $j (($i+1) .. $#list) {
+ ++$count if ($list[$i] + $list[$j]) % $k == 0;
+ }
+ }
+ say "$k (@list) -> ", $count;
+}
diff --git a/challenge-188/laurent-rosenfeld/perl/ch-2.pl b/challenge-188/laurent-rosenfeld/perl/ch-2.pl
new file mode 100644
index 0000000000..f3e3e971b4
--- /dev/null
+++ b/challenge-188/laurent-rosenfeld/perl/ch-2.pl
@@ -0,0 +1,18 @@
+use strict;
+use warnings;
+use feature qw/say/;
+
+sub to_zero {
+ my ($x, $y) = @_;
+ return $x >= $y ? ($x - $y, $y) : ($x, $y - $x);
+}
+
+for my $test ([5, 4], [4, 6], [2, 5], [3, 1], [7, 4], [9, 1]) {
+ my ($x, $y) = @$test;
+ my $count = 0;
+ while ($x and $y ) {
+ ($x, $y) = to_zero $x, $y;
+ $count++;
+ }
+ say "@$test -> $count";
+}
diff --git a/challenge-188/laurent-rosenfeld/raku/ch-1.raku b/challenge-188/laurent-rosenfeld/raku/ch-1.raku
new file mode 100644
index 0000000000..b054771a67
--- /dev/null
+++ b/challenge-188/laurent-rosenfeld/raku/ch-1.raku
@@ -0,0 +1,10 @@
+for (2, <4 5 1 6>), (2, <1 2 3 4>),
+ (3, <1 3 4 5>), (4, <5 1 2 3>),
+ (4, <7 2 4 5>), (2, < 1 2 3 4 5 6 7 >)
+ -> ($k, @test) {
+ my $count = 0;
+ for (0..@test.end).combinations(2) -> @comb {
+ $count++ if (@test[@comb[0]] + @test[@comb[1]]) %% $k;
+ }
+ say "$k (@test[]) -> ", $count;
+}
diff --git a/challenge-188/laurent-rosenfeld/raku/ch-2.raku b/challenge-188/laurent-rosenfeld/raku/ch-2.raku
new file mode 100644
index 0000000000..d6982018a7
--- /dev/null
+++ b/challenge-188/laurent-rosenfeld/raku/ch-2.raku
@@ -0,0 +1,13 @@
+sub to-zero ($x, $y) {
+ return $x >= $y ?? ($x - $y, $y) !! ($x, $y - $x);
+}
+
+for <5 4>, <4 6>, <2 5>, <3 1>, <7 4>, <9 1> -> @test {
+ my ($x, $y) = @test;
+ my $count = 0;
+ while ($x and $y ) {
+ ($x, $y) = to-zero $x, $y;
+ $count++;
+ }
+ say "@test[] -> $count";
+}
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index e31a11dc2e..e7603ddcd9 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,212 +1,29 @@
{
"subtitle" : {
- "text" : "[Champions: 31] Last updated at 2022-10-30 17:13:26 GMT"
+ "text" : "[Champions: 32] Last updated at 2022-10-30 18:49:12 GMT"
},
"xAxis" : {
"type" : "category"
},
- "plotOptions" : {
- "series" : {
- "dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
- },
- "borderWidth" : 0
- }
- },
- "chart" : {
- "type" : "column"
- },
- "legend" : {
- "enabled" : 0
+ "title" : {
+ "text" : "The Weekly Challenge - 188"
},
"yAxis" : {
"title" : {
"text" : "Total Solutions"
}
},
- "tooltip" : {
- "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
- "followPointer" : 1,
- "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>"
- },
- "series" : [
- {
- "name" : "The Weekly Challenge - 188",
- "data" : [
- {
- "drilldown" : "Alexander Pankoff",
- "y" : 2,
- "name" : "Alexander Pankoff"
- },
- {
- "drilldown" : "Ali Moradi",
- "y" : 4,
- "name" : "Ali Moradi"
- },
- {
- "y" : 2,
- "name" : "Andinus",
- "drilldown" : "Andinus"
- },
- {
- "drilldown" : "Athanasius",
- "name" : "Athanasius",
- "y" : 4
- },
- {
- "y" : 2,
- "name" : "Cheok-Yin Fung",
- "drilldown" : "Cheok-Yin Fung"
- },
- {
- "y" : 1,
- "name" : "Dario Mazzeo",
- "drilldown" : "Dario Mazzeo"
- },
- {
- "name" : "Dave Jacoby",
- "y" : 2,
- "drilldown" : "Dave Jacoby"
- },
- {
- "name" : "E. Choroba",
- "y" : 2,
- "drilldown" : "E. Choroba"
- },
- {
- "y" : 2,
- "name" : "Feng Chang",
- "drilldown" : "Feng Chang"
- },
- {
- "name" : "Humberto Massa",
- "y" : 2,
- "drilldown" : "Humberto Massa"
- },
- {
- "name" : "izem",
- "y" : 2,
- "drilldown" : "izem"
- },
- {
- "drilldown" : "James Smith",
- "y" : 3,
- "name" : "James Smith"
- },
- {
- "name" : "Jorg Sommrey",
- "y" : 2,
- "drilldown" : "Jorg Sommrey"
- },
- {
- "y" : 2,
- "name" : "Kueppo Wesley",
- "drilldown" : "Kueppo Wesley"
- },
- {
- "drilldown" : "Luca Ferrari",
- "y" : 4,
- "name" : "Luca Ferrari"
- },
- {
- "y" : 2,
- "name" : "Mark Anderson",
- "drilldown" : "Mark Anderson"
- },
- {
- "name" : "Marton Polgar",
- "y" : 2,
- "drilldown" : "Marton Polgar"
- },
- {
- "name" : "Matthew Neleigh",
- "y" : 2,
- "drilldown" : "Matthew Neleigh"
- },
- {
- "name" : "Mohammad S Anwar",
- "y" : 4,
- "drilldown" : "Mohammad S Anwar"
- },
- {
- "drilldown" : "Paul Fajman",
- "name" : "Paul Fajman",
- "y" : 2
- },
- {
- "y" : 3,
- "name" : "Peter Campbell Smith",
- "drilldown" : "Peter Campbell Smith"
- },
- {
- "drilldown" : "Robbie Hatley",
- "y" : 2,
- "name" : "Robbie Hatley"
- },
- {
- "y" : 4,
- "name" : "Robert DiCicco",
- "drilldown" : "Robert DiCicco"
- },
- {
- "drilldown" : "Roger Bell_West",
- "y" : 5,
- "name" : "Roger Bell_West"
- },
- {
- "drilldown" : "Simon Green",
- "name" : "Simon Green",
- "y" : 3
- },
- {
- "name" : "Solathian",
- "y" : 2,
- "drilldown" : "Solathian"
- },
- {
- "name" : "Stephen G. Lynn",
- "y" : 5,
- "drilldown" : "Stephen G. Lynn"
- },
- {
- "drilldown" : "Tim Potapov",
- "y" : 2,
- "name" : "Tim Potapov"
- },
- {
- "name" : "Ulrich Rieke",
- "y" : 4,
- "drilldown" : "Ulrich Rieke"
- },
- {
- "drilldown" : "Vamsi Meenavilli",
- "name" : "Vamsi Meenavilli",
- "y" : 2
- },
- {
- "name" : "W. Luis Mochan",
- "y" : 3,
- "drilldown" : "W. Luis Mochan"
- }
- ],
- "colorByPoint" : 1
- }
- ],
- "title" : {
- "text" : "The Weekly Challenge - 188"
- },
"drilldown" : {
"series" : [
{
"name" : "Alexander Pankoff",
+ "id" : "Alexander Pankoff",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Alexander Pankoff"
+ ]
},
{
"name" : "Ali Moradi",
@@ -223,7 +40,6 @@
"id" : "Ali Moradi"
},
{
- "id" : "Andinus",
"name" : "Andinus",
"data" : [
[
@@ -234,10 +50,10 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "Andinus"
},
{
- "id" : "Athanasius",
"name" : "Athanasius",
"data" : [
[
@@ -248,47 +64,48 @@
"Raku",
2
]
- ]
+ ],
+ "id" : "Athanasius"
},
{
"name" : "Cheok-Yin Fung",
+ "id" : "Cheok-Yin Fung",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Cheok-Yin Fung"
+ ]
},
{
- "name" : "Dario Mazzeo",
"data" : [
[
"Perl",
1
]
],
- "id" : "Dario Mazzeo"
+ "id" : "Dario Mazzeo",
+ "name" : "Dario Mazzeo"
},
{
- "id" : "Dave Jacoby",
"name" : "Dave Jacoby",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "id" : "Dave Jacoby"
},
{
- "id" : "E. Choroba",
+ "name" : "E. Choroba",
"data" : [
[
"Perl",
2
]
],
- "name" : "E. Choroba"
+ "id" : "E. Choroba"
},
{
"id" : "Feng Chang",
@@ -302,27 +119,25 @@
},
{
"name" : "Humberto Massa",
+ "id" : "Humberto Massa",
"data" : [
[
"Raku",
2
]
- ],
- "id" : "Humberto Massa"
+ ]
},
{
+ "name" : "izem",
"data" : [
[
"Perl",
2
]
],
- "name" : "izem",
"id" : "izem"
},
{
- "id" : "James Smith",
- "name" : "James Smith",
"data" : [
[
"Perl",
@@ -332,17 +147,19 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "James Smith",
+ "name" : "James Smith"
},
{
"name" : "Jorg Sommrey",
+ "id" : "Jorg Sommrey",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Jorg Sommrey"
+ ]
},
{
"id" : "Kueppo Wesley",
@@ -355,6 +172,24 @@
"name" : "Kueppo Wesley"
},
{
+ "name" : "Laurent Rosenfeld",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ],
+ [
+ "Raku",
+ 2
+ ],
+ [
+ "Blog",
+ 1
+ ]
+ ],
+ "id" : "Laurent Rosenfeld"
+ },
+ {
"name" : "Luca Ferrari",
"data" : [
[
@@ -369,36 +204,38 @@
"id" : "Luca Ferrari"
},
{
+ "id" : "Mark Anderson",
"data" : [
[
"Raku",
2
]
],
- "name" : "Mark Anderson",
- "id" : "Mark Anderson"
+ "name" : "Mark Anderson"
},
{
"name" : "Marton Polgar",
+ "id" : "Marton Polgar",
"data" : [
[
"Raku",
2
]
- ],
- "id" : "Marton Polgar"
+ ]
},
{
+ "name" : "Matthew Neleigh",
"data" : [
[
"Perl",
2
]
],
- "name" : "Matthew Neleigh",
"id" : "Matthew Neleigh"
},
{
+ "name" : "Mohammad S Anwar",
+ "id" : "Mohammad S Anwar",
"data" : [
[
"Perl",
@@ -408,23 +245,20 @@
"Raku",
2
]
- ],
- "name" : "Mohammad S Anwar",
- "id" : "Mohammad S Anwar"
+ ]
},
{
- "name" : "Paul Fajman",
+ "id" : "Paul Fajman",
"data" : [
[
"Perl",
2
]
],
- "id" : "Paul Fajman"
+ "name" : "Paul Fajman"
},
{
"id" : "Peter Campbell Smith",
- "name" : "Peter Campbell Smith",
"data" : [
[
"Perl",
@@ -434,17 +268,18 @@
"Blog",
1
]
- ]
+ ],
+ "name" : "Peter Campbell Smith"
},
{
+ "name" : "Robbie Hatley",
"id" : "Robbie Hatley",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "Robbie Hatley"
+ ]
},
{
"name" : "Robert DiCicco",
@@ -461,6 +296,8 @@
"id" : "Robert DiCicco"
},
{
+ "name" : "Roger Bell_West",
+ "id" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -474,11 +311,10 @@
"Blog",
1
]
- ],
- "name" : "Roger Bell_West",
- "id" : "Roger Bell_West"
+ ]
},
{
+ "name" : "Simon Green",
"data" : [
[
"Perl",
@@ -489,7 +325,6 @@
1
]
],
- "name" : "Simon Green",
"id" : "Simon Green"
},
{
@@ -503,6 +338,7 @@
"id" : "Solathian"
},
{
+ "name" : "Stephen G. Lynn",
"id" : "Stephen G. Lynn",
"data" : [
[
@@ -517,12 +353,11 @@
"Blog",
1
]
- ],
- "name" : "Stephen G. Lynn"
+ ]
},
{
- "id" : "Tim Potapov",
"name" : "Tim Potapov",
+ "id" : "Tim Potapov",
"data" : [
[
"Perl",
@@ -531,7 +366,6 @@
]
},
{
- "name" : "Ulrich Rieke",
"data" : [
[
"Perl",
@@ -542,7 +376,8 @@
2
]
],
- "id" : "Ulrich Rieke"
+ "id" : "Ulrich Rieke",
+ "name" : "Ulrich Rieke"
},
{
"data" : [
@@ -551,12 +386,10 @@
2
]
],
- "name" : "Vamsi Meenavilli",
- "id" : "Vamsi Meenavilli"
+ "id" : "Vamsi Meenavilli",
+ "name" : "Vamsi Meenavilli"
},
{
- "id" : "W. Luis Mochan",
- "name" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -566,8 +399,198 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "W. Luis Mochan",
+ "name" : "W. Luis Mochan"
}
]
+ },
+ "plotOptions" : {
+ "series" : {
+ "borderWidth" : 0,
+ "dataLabels" : {
+ "enabled" : 1,
+ "format" : "{point.y}"
+ }
+ }
+ },
+ "tooltip" : {
+ "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>",
+ "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>",
+ "followPointer" : 1
+ },
+ "series" : [
+ {
+ "name" : "The Weekly Challenge - 188",
+ "colorByPoint" : 1,
+ "data" : [
+ {
+ "name" : "Alexander Pankoff",
+ "drilldown" : "Alexander Pankoff",
+ "y" : 2
+ },
+ {
+ "name" : "Ali Moradi",
+ "drilldown" : "Ali Moradi",
+ "y" : 4
+ },
+ {
+ "name" : "Andinus",
+ "drilldown" : "Andinus",
+ "y" : 2
+ },
+ {
+ "name" : "Athanasius",
+ "y" : 4,
+ "drilldown" : "Athanasius"
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Cheok-Yin Fung",
+ "name" : "Cheok-Yin Fung"
+ },
+ {
+ "name" : "Dario Mazzeo",
+ "drilldown" : "Dario Mazzeo",
+ "y" : 1
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Dave Jacoby",
+ "name" : "Dave Jacoby"
+ },
+ {
+ "name" : "E. Choroba",
+ "drilldown" : "E. Choroba",
+ "y" : 2
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Feng Chang",
+ "name" : "Feng Chang"
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Humberto Massa",
+ "name" : "Humberto Massa"
+ },
+ {
+ "name" : "izem",
+ "drilldown" : "izem",
+ "y" : 2
+ },
+ {
+ "name" : "James Smith",
+ "drilldown" : "James Smith",
+ "y" : 3
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey"
+ },
+ {
+ "drilldown" : "Kueppo Wesley",
+ "y" : 2,
+ "name" : "Kueppo Wesley"
+ },
+ {
+ "drilldown" : "Laurent Rosenfeld",
+ "y" : 5,
+ "name" : "Laurent Rosenfeld"
+ },
+ {
+ "y" : 4,
+ "drilldown" : "Luca Ferrari",
+ "name" : "Luca Ferrari"
+ },
+ {
+ "drilldown" : "Mark Anderson",
+ "y" : 2,
+ "name" : "Mark Anderson"
+ },
+ {
+ "name" : "Marton Polgar",
+ "y" : 2,
+ "drilldown" : "Marton Polgar"
+ },
+ {
+ "name" : "Matthew Neleigh",
+ "y" : 2,
+ "drilldown" : "Matthew Neleigh"
+ },
+ {
+ "name" : "Mohammad S Anwar",
+ "drilldown" : "Mohammad S Anwar",
+ "y" : 4
+ },
+ {
+ "drilldown" : "Paul Fajman",
+ "y" : 2,
+ "name" : "Paul Fajman"
+ },
+ {
+ "drilldown" : "Peter Campbell Smith",
+ "y" : 3,
+ "name" : "Peter Campbell Smith"
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Robbie Hatley",
+ "name" : "Robbie Hatley"
+ },
+ {
+ "drilldown" : "Robert DiCicco",
+ "y" : 4,
+ "name" : "Robert DiCicco"
+ },
+ {
+ "name" : "Roger Bell_West",
+ "drilldown" : "Roger Bell_West",
+ "y" : 5
+ },
+ {
+ "name" : "Simon Green",
+ "y" : 3,
+ "drilldown" : "Simon Green"
+ },
+ {
+ "name" : "Solathian",
+ "drilldown" : "Solathian",
+ "y" : 2
+ },
+ {
+ "name" : "Stephen G. Lynn",
+ "y" : 5,
+ "drilldown" : "Stephen G. Lynn"
+ },
+ {
+ "name" : "Tim Potapov",
+ "drilldown" : "Tim Potapov",
+ "y" : 2
+ },
+ {
+ "name" : "Ulrich Rieke",
+ "y" : 4,
+ "drilldown" : "Ulrich Rieke"
+ },
+ {
+ "name" : "Vamsi Meenavilli",
+ "drilldown" : "Vamsi Meenavilli",
+ "y" : 2
+ },
+ {
+ "drilldown" : "W. Luis Mochan",
+ "y" : 3,
+ "name" : "W. Luis Mochan"
+ }
+ ]
+ }
+ ],
+ "chart" : {
+ "type" : "column"
+ },
+ "legend" : {
+ "enabled" : 0
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index ab105dff50..a4802a9aa2 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,63 +1,63 @@
{
- "title" : {
- "text" : "The Weekly Challenge Contributions [2019 - 2022]"
- },
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
- },
"yAxis" : {
"title" : {
"text" : null
},
"min" : 0
},
+ "xAxis" : {
+ "labels" : {
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ }
+ },
+ "type" : "category"
+ },
+ "title" : {
+ "text" : "The Weekly Challenge Contributions [2019 - 2022]"
+ },
+ "subtitle" : {
+ "text" : "Last updated at 2022-10-30 18:49:12 GMT"
+ },
+ "legend" : {
+ "enabled" : "false"
+ },
+ "chart" : {
+ "type" : "column"
+ },
"series" : [
{
- "dataLabels" : {
- "format" : "{point.y:.0f}",
- "rotation" : -90,
- "enabled" : "true",
- "color" : "#FFFFFF",
- "y" : 10,
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- },
- "align" : "right"
- },
- "name" : "Contributions",
"data" : [
[
"Blog",
- 2967
+ 2968
],
[
"Perl",
- 9185
+ 9187
],
[
"Raku",
- 5506
+ 5508
]
- ]
+ ],
+ "name" : "Contributions",
+ "dataLabels" : {
+ "color" : "#FFFFFF",
+ "y" : 10,
+ "style" : {
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
+ },
+ "align" : "right",
+ "rotation" : -90,
+ "enabled" : "true",
+ "format" : "{point.y:.0f}"
+ }
}
],
- "legend" : {
- "enabled" : "false"
- },
- "chart" : {
- "type" : "column"
- },
- "subtitle" : {
- "text" : "Last updated at 2022-10-30 17:13:25 GMT"
- },
- "xAxis" : {
- "labels" : {
- "style" : {
- "fontSize" : "13px",
- "fontFamily" : "Verdana, sans-serif"
- }
- },
- "type" : "category"
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index eb3fc61652..19238816ee 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,7 +1,15 @@
{
+ "chart" : {
+ "type" : "column"
+ },
+ "legend" : {
+ "enabled" : "false"
+ },
"drilldown" : {
"series" : [
{
+ "name" : "001",
+ "id" : "001",
"data" : [
[
"Perl",
@@ -15,11 +23,10 @@
"Blog",
11
]
- ],
- "name" : "001",
- "id" : "001"
+ ]
},
{
+ "name" : "002",
"id" : "002",
"data" : [
[
@@ -34,8 +41,7 @@
"Blog",
10
]
- ],
- "name" : "002"
+ ]
},
{
"data" : [
@@ -52,10 +58,11 @@
9
]
],
- "name" : "003",
- "id" : "003"
+ "id" : "003",
+ "name" : "003"
},
{
+ "id" : "004",
"data" : [
[
"Perl",
@@ -70,11 +77,10 @@
10
]
],
- "name" : "004",
- "id" : "004"
+ "