Skip to content

Instantly share code, notes, and snippets.

Avatar

Matteo Abrate nitaku

  • IIT CNR
  • Pisa, Italy
View GitHub Profile
View as_partitions_tree_ipv_rir_geo.json
This file has been truncated, but you can view the full file.
{"children": [{"id": "partition1", "children": [{"id": "v4+v6", "children": [{"id": "ARIN", "children": [{"id": "AU|CA|CH|CO|DE|ES|GB|HK|IN|JM|MX|NG|NL|NZ|SE|TR|US", "children": [{"v4_effective_coverage": 713216, "ipv": "v4+v6", "geo": "AU|CA|CH|CO|DE|ES|GB|HK|IN|JM|MX|NG|NL|NZ|SE|TR|US", "v6_effective_coverage": 237692950706059845912108204032, "partition": 1, "rir": "ARIN", "id": "6461", "label": "ZAYO-6461 - Zayo Bandwidth Inc"}]}, {"id": "AS|AT|AU|BE|BR|CA|CN|CZ|DE|ES|FR|GB|GR|HK|IE|IT|JP|KR|LA|MO|NL|NO|PA|SG|TR|US|VI", "children": [{"v4_effective_coverage": 20762368, "ipv": "v4+v6", "geo": "AS|AT|AU|BE|BR|CA|CN|CZ|DE|ES|FR|GB|GR|HK|IE|IT|JP|KR|LA|MO|NL|NO|PA|SG|TR|US|VI", "v6_effective_coverage": 20609237863299653706886076694542, "partition": 1, "rir": "ARIN", "id": "209", "label": "CENTURYLINK-US-LEGACY-QWEST - Qwest Communications Company, LLC"}]}, {"id": "BR|ES|GB|HK|ID|IN|LS|PL|SG|TH|UA|US", "children": [{"v4_effective_coverage": 16232, "ipv": "v4+v6", "geo": "BR|ES|GB|HK|ID|IN|LS|PL|SG|TH|UA|US", "v6
@nitaku
nitaku / README.md
Created January 11, 2018 14:46
Weather Wheel IV
@nitaku
nitaku / README.md
Created September 29, 2017 13:54
Circle packing with kidney edge bundling
@nitaku
nitaku / README.md
Last active November 15, 2017 10:41
Circle packing with hierarchical edge bundling
View README.md
@nitaku
nitaku / README.md
Last active September 29, 2017 12:38
Circle packing
View README.md
@nitaku
nitaku / README.md
Created September 14, 2017 11:39
ASes hop partitions
@nitaku
nitaku / decks.json
Last active September 12, 2017 22:57
Atlas card builder
View decks.json
[
{
"type": "deck",
"name": "Earth",
"children": [
{
"type": "card",
"code": "Terran Federation of Planets\nearth-africa-europe\nCIVILIZATION-earth-government\nC: You become the leader _(You get the first turn each round)_.\n_Often criticized for its ambiguous denomination mixing the ideas of supremacy and equality, the Terran Federation of Planets has in fact acted very differently throughout the history of its presidencies._\n"
},
{
@nitaku
nitaku / README.md
Created August 21, 2017 12:53
World Map of Autonomous Systems
@nitaku
nitaku / README.md
Last active March 25, 2022 13:31
World population - Dorling diagram
View README.md

Not a real Dorling diagram, I know, but similar. Each bubble tries to stay centered in its country's centroid, like in this example, but also avoid collisions with other bubbles. Similar to the previous example, but providing more geographical information.

@nitaku
nitaku / README.md
Last active August 8, 2017 12:43
Collision + foci
View README.md

This example elaborates on the previous one by adding an attraction force towards arbitrary points, using d3-force-attract by Eric Socolofsky. The plugin, as well as various other useful insights on how to use d3 v4 force layout, is described in this post on hi.stamen.