diff options
| -rwxr-xr-x | challenge-147/colin-crain/perl/ch-1.pl | 142 | ||||
| -rwxr-xr-x | challenge-147/colin-crain/perl/ch-2.pl | 131 | ||||
| -rw-r--r-- | stats/pwc-current.json | 467 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 56 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 1044 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 394 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 34 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 104 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 36 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 48 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 42 | ||||
| -rw-r--r-- | stats/pwc-summary-241-270.json | 52 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 110 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 118 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 108 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 32 |
16 files changed, 1603 insertions, 1315 deletions
diff --git a/challenge-147/colin-crain/perl/ch-1.pl b/challenge-147/colin-crain/perl/ch-1.pl new file mode 100755 index 0000000000..b826de7e10 --- /dev/null +++ b/challenge-147/colin-crain/perl/ch-1.pl @@ -0,0 +1,142 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# prime-rime-ime-me-e.pl
+#
+# Truncatable Prime
+# Submitted by: Mohammad S Anwar
+#
+# Write a script to generate first 20 left-truncatable prime
+# numbers in base 10.
+#
+# In number theory, a left-truncatable prime is a prime number
+# which, in a given base, contains no 0, and if the leading left
+# digit is successively removed, then all resulting numbers are
+# primes.
+#
+# Example
+#
+# 9137 is one such left-truncatable prime since 9137, 137, 37
+# and 7 are all prime numbers.
+
+# analysis:
+#
+# Number Theory is so weird. Take two ideas, as tenuously
+# related as any you can come up with, and weld them together,
+# then look and see what Frankenstein's monster you've created,
+# just to see if anything can be inferred from the data.
+#
+# Which itself is likely to be another question, another
+# derivitive in search of a place in a greater fabric of
+# meaning.
+#
+# There's a certain devil-may-care undercurrent to it all,
+# consequence be damned: With my new rabbit-fish soldiers my
+# army will be unstoppable! I hold the powers of life and death
+# itself in my hands!
+#
+# The mad-scientist metaphor is particularly apropos as the
+# patterns detected will be nearly by definition unobvious.
+# After all, if it were obvious it would probably just be
+# absorbed into some sort of more mainstream mathematics. What
+# is being looked for in Number Theory are the deep
+# connections, tendrils left over from the creation of the
+# universe itself, or even before and beyond the creation.
+# After all, math exists, metaphysically, outside the universe.
+#
+# Or perhaps that premise too can be disputed. Nothing is off
+# the table. We are investigating the hairy edge-cases of
+# reality with a ferver that aligns with the mystical. Newton,
+# it is known now, was an alchemist.
+#
+# "There are more things in heaven and earth, Horatio,
+# Than are dreamt of in your philosophy."
+# — Hamlet
+#
+# Why would anyone do this? It's obvious: because it's there,
+# of course. If you could stare into the center of creation,
+# why wouldn't you?
+#
+# Bring sunglasses.
+#
+# method:
+#
+# As we have no idea of how many primes we will require, we'll
+# rework our prime generator as an iterator, maintaining an
+# internal list, computing and returning the next prime,
+# whatever that is, when called. These primes are then placed
+# in a hash for easy lookup, as we'll need to consult our list
+# of already-computed primes often, with random access.
+#
+# When we have a new prime, we hand it to a truncatable()
+# subroutine to see how it fares. Inside a loop the leftmost
+# digit is lopped off using substr() and the value is
+# rechecked. If at any time the lopped number is no longer
+# prime 0 is returned, and if it successfully runs the gauntlet
+# we return 1. This subroutine is used for a loop conditional
+# to try the next candidate prime. If the test is passed we add
+# the candidate to the list of left-trancatables and continue.
+#
+# We'll skip the trivial cases of single-digit primes as
+# uninteresting, and because our algorithm runs quickly we'll
+# compute a thousand instead of 20.
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+
+sub get_next_prime ( ) {
+## an iterator that delivers the next prime
+ state @primes;
+
+ if ( @primes < 2 ) {
+ push @primes, @primes == 0 ? 2 : 3;
+ return $primes[-1];
+ }
+
+ my $candidate = $primes[-1] ;
+ CANDIDATE: while ( $candidate += 2 ) {
+ my $sqrt_candidate = sqrt( $candidate );
+ for my $test ( @primes ) {
+ next CANDIDATE if $candidate % $test == 0;
+ last if $test > $sqrt_candidate;
+ }
+ push @primes, $candidate;
+ return $candidate;
+ }
+}
+
+my $prime_lookup;
+my @lt_primes;
+
+while ( @lt_primes <= 1000 ) {
+ my $candidate = get_next_prime();
+ $prime_lookup->{ $candidate } = 1;
+ next unless left_truncatable( $candidate, $prime_lookup );
+ $candidate and push @lt_primes, $candidate;
+}
+
+say $_ for @lt_primes;
+
+sub left_truncatable ( $val, $lookup ) {
+ return 0 if $val =~ /0/;
+ return 0 if $val =~ /^\d$/;
+
+ while ( 1 ) {
+ substr $val, 0, 1, '';
+ last unless $val;
+ return 0 unless $lookup->{$val};
+ }
+ return 1;
+}
+
+
diff --git a/challenge-147/colin-crain/perl/ch-2.pl b/challenge-147/colin-crain/perl/ch-2.pl new file mode 100755 index 0000000000..87809817ab --- /dev/null +++ b/challenge-147/colin-crain/perl/ch-2.pl @@ -0,0 +1,131 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# .pl
+#
+# Pentagon Numbers
+# Submitted by: Mohammad S Anwar
+# Write a sript to find the first pair of Pentagon Numbers whose
+# sum and difference are also a Pentagon Number.
+#
+# Pentagon numbers can be defined as P(n) = n(3n - 1)/2.
+#
+# Example
+# The first 10 Pentagon Numbers are:
+# 1, 5, 12, 22, 35, 51, 70, 92, 117 and 145.
+#
+# P(4) + P(7) = 22 + 70 = 92 = P(8)
+# but
+# P(4) - P(7) = |22 - 70| = 48 is not a Pentagon Number.
+#
+# method:
+#
+# Shooting from the hip, I saw this as a math problem: we have
+# three variables, that fit into two equations. It's a fairly
+# simple system of linear equations that should be solvable without
+# going crazy.
+#
+# But then again it's not a math problem, its a programming
+# problem. It's both, really, but sometimes things can be two
+# things at once. Trust me, I know: I had a girlfriend like that
+# once a long time ago, and I learned this lesson the hard way.
+#
+# But I digress.
+#
+# It's a little unclear what we mean my "first pair" in this
+# multidimensional context. I can think of a couple of criteria:
+# the lowest first value? Combined value? Summed? Multiplied?
+#
+# Although not stated in the description if we conclude that the
+# pentogonal numbers are a the next extension of square numbers and
+# triangular numbers before those, then the pentagonals describe a
+# cardinal quantity, and as such are positive or zero. And we
+# probably exclude zero.
+#
+# This is indeed the case, and we should add `n ≥ 1` to the above
+# description.
+#
+# From the quadratic definition we can next see that the
+# pentagonals will always be increasing, P(n+1) > P(n) ∀ n ≥ 1
+#
+# So from this we can require that for two values n and m, such
+# that
+#
+# P(n) - P(m) = P(t)
+#
+# for some t, then m must be less than n.
+#
+# We'll start with the tuple
+#
+# (n,m) = (2,1)
+#
+# and start working upwards from there, incrementing n by 1 and
+# then searching m for all values 1 to n-1.
+#
+# This searches the data space in a regular, expanding pattern that
+# should satisfy some definitions of "first".
+#
+# It's brutal but should be effective. We'll quit when we find one
+# or stop the process because we're tired of waiting.
+#
+# Report:
+#
+# If finds the solution, n = 2167, m = 1020, in short order:
+#
+# found pair n = 2167, m = 1020 :
+#
+# P(2167) = 7042750
+# P(1020) = 1560090
+# sum is 8602840
+# which is P(2395)
+# diff is 5482660
+# which is P(1912)
+#
+#
+#
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+
+my %penta = map { $_ => pentagons($_) } (1..1000000 );
+my %lookup = reverse %penta;
+my ($n, $m) = (1,0);
+
+OUTER: while ( $n++ ) {
+ $m = 0;
+ while ( ++$m < $n ) {
+ last OUTER if exists $lookup{ $penta{$n} + $penta{$m} } and
+ exists $lookup{ $penta{$n} - $penta{$m} } ;
+ }
+}
+
+sub pentagons ( $n ) {
+ return $n * ( 3 * $n - 1 ) / 2
+}
+
+## output report
+
+my $sum = $penta{$n} + $penta{$m};
+my $diff = $penta{$n} - $penta{$m};
+
+say <<~"END";
+ found pair n = $n, m = $m :
+
+ P($n) = $penta{$n}
+ P($m) = $penta{$m}
+ sum is $sum
+ which is P($lookup{$sum})
+ diff is $diff
+ which is P($lookup{$diff})
+ END
+
+
diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 1cb852dcb1..b8f5e9db9c 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,15 +1,185 @@ { - "subtitle" : { - "text" : "[Champions: 28] Last updated at 2022-01-17 00:24:41 GMT" + "title" : { + "text" : "The Weekly Challenge - 147" }, - "tooltip" : { - "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", - "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", - "followPointer" : 1 + "xAxis" : { + "type" : "category" + }, + "series" : [ + { + "data" : [ + { + "y" : 4, + "drilldown" : "Adam Russell", + "name" : "Adam Russell" + }, + { + "drilldown" : "Alexander Karelas", + "name" : "Alexander Karelas", + "y" : 1 + }, + { + "name" : "Alexander Pankoff", + "drilldown" : "Alexander Pankoff", + "y" : 2 + }, + { + "drilldown" : "Arne Sommer", + "y" : 5, + "name" : "Arne Sommer" + }, + { + "name" : "Athanasius", + "drilldown" : "Athanasius", + "y" : 4 + }, + { + "drilldown" : "Bruce Gray", + "y" : 4, + "name" : "Bruce Gray" + }, + { + "drilldown" : "Cheok-Yin Fung", + "name" : "Cheok-Yin Fung", + "y" : 2 + }, + { + "y" : 2, + "drilldown" : "Colin Crain", + "name" : "Colin Crain" + }, + { + "drilldown" : "Dave Jacoby", + "name" : "Dave Jacoby", + "y" : 3 + }, + { + "drilldown" : "Duncan C. White", + "y" : 2, + "name" : "Duncan C. White" + }, + { + "drilldown" : "E. Choroba", + "y" : 2, + "name" : "E. Choroba" + }, + { + "name" : "Flavio Poletti", + "drilldown" : "Flavio Poletti", + "y" : 6 + }, + { + "y" : 3, + "drilldown" : "James Smith", + "name" : "James Smith" + }, + { + "name" : "Jan Krnavek", + "drilldown" : "Jan Krnavek", + "y" : 1 + }, + { + "drilldown" : "Laurent Rosenfeld", + "y" : 5, + "name" : "Laurent Rosenfeld" + }, + { + "y" : 7, + "drilldown" : "Luca Ferrari", + "name" : "Luca Ferrari" + }, + { + "drilldown" : "Mark Anderson", + "y" : 2, + "name" : "Mark Anderson" + }, + { + "name" : "Mark Senn", + "drilldown" : "Mark Senn", + "y" : 4 + }, + { + "drilldown" : "Marton Polgar", + "name" : "Marton Polgar", + "y" : 2 + }, + { + "y" : 2, + "drilldown" : "Matthew Neleigh", + "name" : "Matthew Neleigh" + }, + { + "drilldown" : "Mohammad S Anwar", + "name" : "Mohammad S Anwar", + "y" : 2 + }, + { + "name" : "Niels van Dijke", + "drilldown" : "Niels van Dijke", + "y" : 2 + }, + { + "drilldown" : "Peter Campbell Smith", + "y" : 3, + "name" : "Peter Campbell Smith" + }, + { + "drilldown" : "Roger Bell_West", + "y" : 5, + "name" : "Roger Bell_West" + }, + { + "drilldown" : "Simon Green", + "name" : "Simon Green", + "y" : 3 + }, + { + "drilldown" : "Simon Proctor", + "name" : "Simon Proctor", + "y" : 2 + }, + { + "drilldown" : "Steven Wilson", + "name" : "Steven Wilson", + "y" : 2 + }, + { + "name" : "Ulrich Rieke", + "drilldown" : "Ulrich Rieke", + "y" : 4 + }, + { + "y" : 3, + "drilldown" : "W. Luis Mochan", + "name" : "W. Luis Mochan" + } + ], + "colorByPoint" : 1, + "name" : "The Weekly Challenge - 147" + } + ], + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 + } + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "subtitle" : { + "text" : "[Champions: 29] Last updated at 2022-01-17 00:40:17 GMT" }, "drilldown" : { "series" : [ { + "id" : "Adam Russell", + "name" : "Adam Russell", "data" : [ [ "Perl", @@ -19,31 +189,30 @@ "Blog", 2 ] - ], - "id" : "Adam Russell", - "name" : "Adam Russell" + ] }, { + "id" : "Alexander Karelas", + "name" : "Alexander Karelas", "data" : [ [ "Perl", 1 ] - ], - "id" : "Alexander Karelas", - "name" : "Alexander Karelas" + ] }, { "name" : "Alexander Pankoff", + "id" : "Alexander Pankoff", "data" : [ [ "Perl", 2 ] - ], - "id" : "Alexander Pankoff" + ] }, { + "name" : "Arne Sommer", "id" : "Arne Sommer", "data" : [ [ @@ -58,10 +227,10 @@ "Blog", 1 ] - ], - "name" : "Arne Sommer" + ] }, { + "name" : "Athanasius", "id" : "Athanasius", "data" : [ [ @@ -72,8 +241,7 @@ "Raku", 2 ] - ], - "name" : "Athanasius" + ] }, { "data" : [ @@ -90,6 +258,7 @@ "name" : "Bruce Gray" }, { + "name" : "Cheok-Yin Fung", "id" : "Cheok-Yin Fung", "data" : [ [ @@ -100,12 +269,19 @@ "Blog", 1 ] - ], - "name" : "Cheok-Yin Fung" + ] + }, + { + "id" : "Colin Crain", + "name" : "Colin Crain", + "data" : [ + [ + "Perl", + 2 + ] + ] }, { - "name" : "Dave Jacoby", - "id" : "Dave Jacoby", "data" : [ [ "Perl", @@ -115,30 +291,31 @@ "Blog", 1 ] - ] + ], + "id" : "Dave Jacoby", + "name" : "Dave Jacoby" }, { - "id" : "Duncan C. White", "data" : [ [ "Perl", 2 ] ], + "id" : "Duncan C. White", "name" : "Duncan C. White" }, { "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ], - "id" : "E. Choroba" + ] }, { - "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -153,9 +330,12 @@ 2 ] ], - "name" : "Flavio Poletti" + "name" : "Flavio Poletti", + "id" : "Flavio Poletti" }, { + "id" : "James Smith", + "name" : "James Smith", "data" : [ [ "Perl", @@ -165,18 +345,16 @@ "Blog", 1 ] - ], - "id" : "James Smith", - "name" : "James Smith" + ] }, { - "id" : "Jan Krnavek", "data" : [ [ "Raku", 1 ] ], + "id" : "Jan Krnavek", "name" : "Jan Krnavek" }, { @@ -198,6 +376,7 @@ "name" : "Laurent Rosenfeld" }, { + "name" : "Luca Ferrari", "id" : "Luca Ferrari", "data" : [ [ @@ -208,21 +387,19 @@ "Blog", 5 ] - ], - "name" : "Luca Ferrari" + ] }, { + "name" : "Mark Anderson", "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] - ], - "name" : "Mark Anderson" + ] }, { - "name" : "Mark Senn", "data" : [ [ "Raku", @@ -233,6 +410,7 @@ 2 ] ], + "name" : "Mark Senn", "id" : "Mark Senn" }, { @@ -247,16 +425,17 @@ }, { "id" : "Matthew Neleigh", + "name" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] - ], - "name" : "Matthew Neleigh" + ] }, { "name" : "Mohammad S Anwar", + "id" : "Mohammad S Anwar", "data" : [ [ "Perl", @@ -266,21 +445,19 @@ "Raku", 1 ] - ], - "id" : "Mohammad S Anwar" + ] }, { "name" : "Niels van Dijke", + "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] - ], - "id" : "Niels van Dijke" + ] }, { - "id" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -291,9 +468,11 @@ 1 ] ], - "name" : "Peter Campbell Smith" + "name" : "Peter Campbell Smith", + "id" : "Peter Campbell Smith" }, { + "id" : "Roger Bell_West", "name" : "Roger Bell_West", "data" : [ [ @@ -308,12 +487,9 @@ "Blog", 1 ] - ], - "id" : "Roger Bell_West" + ] }, { - "name" : "Simon Green", - "id" : "Simon Green", "data" : [ [ "Perl", @@ -323,27 +499,29 @@ "Blog", 1 ] - ] + ], + "id" : "Simon Green", + "name" : "Simon Green" }, { - "id" : "Simon Proctor", "data" : [ [ "Raku", 2 ] ], + "id" : "Simon Proctor", "name" : "Simon Proctor" }, { + "id" : "Steven Wilson", "name" : "Steven Wilson", "data" : [ [ "Perl", 2 ] - ], - "id" : "Steven Wilson" + ] }, { "data" : [ @@ -356,10 +534,11 @@ 2 ] ], - "id" : "Ulrich Rieke", - "name" : "Ulrich Rieke" + "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke" }, { + "id" : "W. Luis Mochan", "name" : "W. Luis Mochan", "data" : [ [ @@ -370,183 +549,19 @@ "Blog", 1 ] - ], - "id" : "W. Luis Mochan" + ] } ] }, - "title" : { - "text" : "The Weekly Challenge - 147" - }, - "legend" : { - "enabled" : 0 - }, - "series" : [ - { - "data" : [ - { - "y" : 4, - "name" : "Adam Russell", - "drilldown" : "Adam Russell" - }, - { - "drilldown" : "Alexander Karelas", - "y" : 1, - "name" : "Alexander Karelas" - }, - { - "name" : "Alexander Pankoff", - "y" : 2, - "drilldown" : "Alexander Pankoff" - }, - { - "name" : "Arne Sommer", - "y" : 5, - "drilldown" : "Arne Sommer" - }, - { - "drilldown" : "Athanasius", - "y" : 4, - "name" : "Athanasius" - }, - { - "y" : 4, - "name" : "Bruce Gray", - "drilldown" : "Bruce Gray" - }, - { - "name" : "Cheok-Yin Fung", - "y" : 2, - "drilldown" : "Cheok-Yin Fung" - }, - { - "name" : "Dave Jacoby", - "y" : 3, - "drilldown" : "Dave Jacoby" - }, - { - "drilldown" : "Duncan C. White", - "name" : "Duncan C. White", - "y" : 2 - }, - { - "drilldown" : "E. Choroba", - "y" : 2, - "name" : "E. Choroba" - }, - { - "drilldown" : "Flavio Poletti", - "y" : 6, - "name" : "Flavio Poletti" - }, - { - "name" : "James Smith", - "y" : 3, - "drilldown" : "James Smith" - }, - { - "drilldown" : "Jan Krnavek", - "y" : 1, - "name" : "Jan Krnavek" - }, - { - "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld", - "y" : 5 - }, - { - "drilldown" : "Luca Ferrari", - "y" : 7, - "name" : "Luca Ferrari" - }, - { - "name" : "Mark Anderson", - "y" : 2, - "drilldown" : "Mark Anderson" - }, - { - "drilldown" : "Mark Senn", - "y" : 4, - "name" : "Mark Senn" - }, - { - "name" : "Marton Polgar", - "y" : 2, - "drilldown" : "Marton Polgar" - }, - { - "drilldown" : "Matthew Neleigh", - "name" : "Matthew Neleigh", - "y" : 2 - }, - { - "y" : 2, - "name" : "Mohammad S Anwar", - "drilldown" : "Mohammad S Anwar" - }, - { - "drilldown" : "Niels van Dijke", - "y" : 2, - "name" : "Niels van Dijke" - }, - { - "y" : 3, - "name" : "Peter Campbell Smith", - "drilldown" : "Peter Campbell Smith" - }, - { - "drilldown" : "Roger Bell_West", - "y" : 5, - "name" : "Roger Bell_West" - }, - { - "drilldown" : "Simon Green", - "y" : 3, - "name" : "Simon Green" - }, - { - "name" : "Simon Proctor", - "y" : 2, - "drilldown" : "Simon Proctor" - }, - { - "drilldown" : "Steven Wilson", - "name" : "Steven Wilson", - "y" : 2 - }, - { - "drilldown" : "Ulrich Rieke", - "y" : 4, - "name" : "Ulrich Rieke" - }, - { - "y" : 3, - "name" : "W. Luis Mochan", - "drilldown" : "W. Luis Mochan" - } - ], - "colorByPoint" : 1, - "name" : "The Weekly Challenge - 147" - } - ], "chart" : { "type" : "column" }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - }, - "borderWidth" : 0 - } - }, - "xAxis" : { - "type" : "category" + "legend" : { + "enabled" : 0 }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } + "tooltip" : { + "followPointer" : 1, + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 972b88ae71..6f2d9c18d1 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,29 +1,29 @@ { - "subtitle" : { - "text" : "Last updated at 2022-01-17 00:24:41 GMT" - }, - "tooltip" : { - "pointFormat" : "<b>{point.y:.0f}</b>" - }, - "legend" : { - "enabled" : "false" - }, "title" : { "text" : "The Weekly Challenge Contributions [2019 - 2021]" }, + "xAxis" : { + "labels" : { + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + } + }, + "type" : "category" + }, "series" : [ { "dataLabels" : { + "enabled" : "true", + "color" : "#FFFFFF", "y" : 10, "rotation" : -90, - "format" : "{point.y:.0f}", "align" : "right", - "color" : "#FFFFFF", + "format" : "{point.y:.0f}", "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" - }, - "enabled" : "true" + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + } }, "data" : [ [ @@ -32,7 +32,7 @@ ], [ "Perl", - 7099 + 7101 ], [ "Raku", @@ -42,22 +42,22 @@ "name" : "Contributions" } |
