Excercise for d3.js v4
block https://bl.ocks.org/yasu47b/735ba2dbb7b243de36b3a8492ca6c003
sepal_length | sepal_width | petal_length | petal_width | class | |
---|---|---|---|---|---|
5.1 | 3.5 | 1.4 | 0.2 | Iris-setosa | |
4.9 | 3.0 | 1.4 | 0.2 | Iris-setosa | |
4.7 | 3.2 | 1.3 | 0.2 | Iris-setosa | |
4.6 | 3.1 | 1.5 | 0.2 | Iris-setosa | |
5.0 | 3.6 | 1.4 | 0.2 | Iris-setosa | |
5.4 | 3.9 | 1.7 | 0.4 | Iris-setosa | |
4.6 | 3.4 | 1.4 | 0.3 | Iris-setosa | |
5.0 | 3.4 | 1.5 | 0.2 | Iris-setosa | |
4.4 | 2.9 | 1.4 | 0.2 | Iris-setosa |
Excercise for d3.js v4
block https://bl.ocks.org/yasu47b/735ba2dbb7b243de36b3a8492ca6c003
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use v5.10; | |
my $arr = [[1,2,3],[4,5,[6,7,[8,9,[1,2,3]]]]]; | |
my @arr = ([1,2,3],[4,5,[6,7,[8,9,[1,2,3]]]]); | |
sub flatten { | |
my $arg = @_ > 1 ? [@_] : shift; |
``` | |
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
use Excel::Writer::XLSX; | |
use Cwd; | |
app->static->paths->[0] = getcwd; | |
# Documentation browser under "/perldoc" | |
plugin 'PODRenderer'; |
reset max of y axis | |
``` | |
chart.internal.config.axis_y_max=undefined; | |
``` |