Sha256: 073f245092dd1bd959823b6ac03a3d403ed5a7b9c7afe01a808574f2c43f5533

Contents?: true

Size: 948 Bytes

Versions: 8

Compression:

Stored size: 948 Bytes

Contents

<html lang='en'>
<head>
  <title>Bionya example -- Circular plot</title>
  <script src='http://d3js.org/d3.v3.min.js'></script>
  <script src='../../../../../Ecolijs/release/nyaplot.js'></script>
  <script src='../release/mapnya.js'></script>
</head>
<body>
<div id='vis'></div>
<script>
//https://rawgit.com/johan/world.geo.json/master/countries.geo.json
d3.json("https://rawgit.com/domitry/nyaplot/master/lib/mapnya/datasets/countries/data/jpn.geo.json", function(json){
json.features[1] = json.features[0]; // ???
var models = {extension: 'Mapnya', data:{data1: [{id: "SOM", fill: 15},{id: "BLR", fill: 45},{id: "JPN", fill: 10}]},panes: [{type:'rectangular', diagrams:[],options:{width:700, height:700, xrange: [0, 10], yrange: [0,50], zoom: true, axis_extra_options: {map_data: json, df_id: "data1", color:["#000","#f00"], fill_by: "fill", cca3: "id"}}, extension:'Mapnya'}]};
Nyaplot.core.parse(models, '#vis');
});
</script>
</body>
</html>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nyaplot-0.1.6 lib/mapnya/js/examples/map.html
nyaplot-0.1.5 lib/mapnya/js/examples/map.html
nyaplot-0.1.4 lib/mapnya/js/examples/map.html
nyaplot-0.2.0.rc1 lib/mapnya/js/examples/map.html
nyaplot-0.1.3 lib/mapnya/js/examples/map.html
nyaplot-0.1.2 lib/mapnya/js/examples/map.html
nyaplot-0.1.1 lib/mapnya/js/examples/map.html
nyaplot-0.1.0 lib/mapnya/js/examples/map.html