A modified version of Mike Bostock’s mesmerising stereographic projection example.
A NASA Blue Marble raster image is reprojected using d3.geo.stereographic().invert
from the geo.projection D3 plugin.
# ma config | |
seen-local-config.php | |
# stockage de mon backup xml | |
tmp/ | |
# mes fichiers exportes | |
seen/ | |
# mes fichiers downloades |
A modified version of Mike Bostock’s mesmerising stereographic projection example.
A NASA Blue Marble raster image is reprojected using d3.geo.stereographic().invert
from the geo.projection D3 plugin.
#!perl -w | |
use Modern::Perl; | |
use Algorithm::Diff::XS; | |
use Statistics::Basic qw/median stddev avg/; | |
use Mail::Mbox::MessageParser; | |
use MIME::Parser; | |
use MIME::Parser::Reader; | |
use Mail::Field; | |
use Encode; | |
use HTML::Entities; |
from pelican import signals | |
from pelican.readers import EXTENSIONS, Reader | |
class NewReader(Reader): | |
enabled = True | |
file_extensions = ['yeah'] | |
def read(self, filename): | |
metadata = {'title': 'Oh yeah', |
<?php | |
/*********************************/ | |
/*** Options de développement ***/ | |
/*********************************/ | |
// Désactiver le cache de SPIP | |
// -1: inactif | |
// 1: actif | |
define('_NO_CACHE', -1); |
<?php | |
namespace Grav\Plugin\Console; | |
use Grav\Console\ConsoleCommand; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputOption; | |
/** | |
* Class GeneratorCommand | |
* |
###Creating static data visualizations with D3.js and Node.js###
See the accompanying blog post for more details on how to create static data viz using D3.js and Node.js
Re-creates Mike Bostock's area choropleth example for Node.js. Allows for output/creation of a non-interactive SVG via the command line.
Requires Node.js and npm. You will also need D3.js for Node.js, installed via,
npm install d3
See this gist for the full code.
An example of an unambiguous fractal treemap. See this example discussing the unambiguous representation of unordered trees, and also this other example from which the random tree Konanopii (1,724 leaves) has been taken from.
ipython
run gosper_regions_depth.py
gosperify('konanopii_1724.json','/data/_workspace/hexes.wkt.csv','regions','depth.json')
Ctrl+D
license: gpl-3.0 |
license: gpl-3.0 |