Skip to content

Instantly share code, notes, and snippets.

View chart.js
// Margin convention
let margin = {top: 30, right: 10, left: 50, bottom: 10}
let width = 700 - margin.right - margin.left
let height = 700 - margin.top - margin.bottom
// because we are hot loading:
if (window.timer) window.timer.stop()
d3.selectAll('svg').remove()
const DURATION = 200
View output (4).json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output_all.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output_all.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output_all.json
{"type":"Topology","arcs":[[[39936,3284],[52,-98]],[[39988,3186],[43,-73],[26,-38],[56,-118]],[[40113,2957],[98,65],[33,27]],[[40244,3049],[25,27]],[[40269,3076],[374,263]],[[40643,3339],[2,13]],[[40645,3352],[8,4],[22,-18],[76,-37],[8,-10],[6,-27],[-3,-45],[-17,-51],[-55,-88],[-23,-21],[-2,-31],[20,-32],[24,-22],[36,-27],[2,-11]],[[40747,2936],[20,-59],[47,-45]],[[40814,2832],[38,-70]],[[40852,2762],[6,-23],[-8,-41]],[[40850,2698],[-11,-34]],[[40839,2664],[-13,-23]],[[40826,2641],[-41,-39],[-31,-50]],[[40754,2552],[29,-27],[12,11]],[[40795,2536],[45,-8],[-14,-9],[-14,-100],[-16,-12],[-12,-83],[-98,-24]],[[40686,2300],[-3,-15],[-16,-40],[-21,-44],[-54,-2],[-17,-16],[9,-93],[25,-44],[27,-24],[72,-29],[25,-15],[2,-166]],[[40735,1812],[-35,-48]],[[40700,1764],[-33,-23]],[[40667,1741],[-132,-111]],[[40535,1630],[-37,-23]],[[40498,1607],[-65,-33]],[[40433,1574],[-69,-25],[-210,-58]],[[40154,1491],[-170,-8],[-124,16]],[[39860,1499],[-104,-4],[-55,-9],[-87,-34],[-35,-22]],[[39579,1430],[-26,-23],[-36,-26]],[[39517,1
View output_gdc.json
{"type":"Topology","arcs":[[[33316,2528],[174,134]],[[33490,2662],[62,-95],[12,-106],[-19,-161]],[[33545,2300],[3,-77]],[[33548,2223],[65,-90],[54,-49],[97,36],[-41,-100],[25,-41],[44,-12],[205,56],[57,408],[-37,-39],[-64,13],[-64,90],[119,-23],[52,2],[12,87],[44,-9],[43,52]],[[34159,2604],[11,76],[-37,7],[65,104],[22,157]],[[34220,2948],[59,-12],[-6,-45],[87,-17],[32,45],[65,-7],[14,-65],[53,-103],[57,52],[32,58],[-19,75],[-57,46]],[[34537,2975],[-2,92],[41,6],[117,67],[-43,55],[33,38],[131,-117],[121,68],[45,103],[41,-20],[45,51],[63,26],[67,50]],[[35196,3394],[-23,-90],[63,-68]],[[35236,3236],[-61,-61]],[[35175,3175],[-31,-53],[-169,-175],[-119,-42]],[[34856,2905],[-82,-52]],[[34774,2853],[-40,-53]],[[34734,2800],[-36,-119],[-33,-63]],[[34665,2618],[-72,-79]],[[34593,2539],[-115,-36],[-92,-40],[-70,-48],[-70,-66],[-35,-114],[4,-195]],[[34215,2040],[45,-152],[-18,-114],[-60,-118]],[[34182,1656],[-67,-54],[-205,-7],[-40,-13]],[[33870,1582],[-67,-74]],[[33803,1508],[-136,-114],[-87,-49],[-230,-70]],[[33350,12
View output_sm.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View output.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.