Skip to content

Instantly share code, notes, and snippets.

@vasturiano
vasturiano / README.md
Last active January 31, 2024 10:29
3D Internet Topology

3D force-simulated version of Internet Interactive Map, showing AS relationships for approximately 3k ASes in the Internet core. ASes have a volume proportional to the size of their customer cone and are color-coded by continent. Rendered using 3d-force-graph.

@vasturiano
vasturiano / README.md
Last active December 23, 2023 04:52
Dynamic 3D Graph

Graph data dynamic updates using 3d-force-graph. Clicking on a node removes it from the graph.

@vasturiano
vasturiano / .block
Last active December 18, 2023 14:36
Timelines Chart
height: 700
scrolling: yes
@vasturiano
vasturiano / README.md
Last active December 8, 2023 14:40
3D-Force/ThreeJS stress test
@vasturiano
vasturiano / .block
Last active October 15, 2023 06:34
Hilbert Map of IPv4 address space
license: mit
@vasturiano
vasturiano / .blocks.json
Last active July 27, 2023 00:43
3D Force-Directed Graph (ThreeJS)
{"nodes":[{"id":"4062045","user":"mbostock","description":"Force-Directed Graph"},{"id":"1341021","user":"mbostock","description":"Parallel Coordinates"},{"id":"1341281","user":"jasondavies","description":"Parallel Coordinates"},{"id":"b3ff6ae1c120eea654b5","user":"d3noob","description":"Simple d3.js Graph"},{"id":"4963004","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4962892","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4963273","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4967213","user":"calvinmetcalf","description":"Rtree Madness"},{"id":"4060606","user":"mbostock","description":"Choropleth"},{"id":"4686432","user":"dwtkns","description":"Faux-3d Shaded Globe"},{"id":"3757101","user":"mbostock","description":"Lambert Azimuthal Equal-Area"},{"id":"5028304","user":"d3noob","description":"Sankey diagram with horizontal and vertical node movement"},{"id":"4343214","user":"mbostock","description":"Quadtree"},{"id":"1346410","user"
@vasturiano
vasturiano / .blocks.json
Last active July 26, 2023 07:49
Multi-dimensional D3 force simulation
{"nodes":[{"id":"4062045","user":"mbostock","description":"Force-Directed Graph"},{"id":"1341021","user":"mbostock","description":"Parallel Coordinates"},{"id":"1341281","user":"jasondavies","description":"Parallel Coordinates"},{"id":"b3ff6ae1c120eea654b5","user":"d3noob","description":"Simple d3.js Graph"},{"id":"4963004","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4962892","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4963273","user":"calvinmetcalf","description":"Quadtree Madness Round 2"},{"id":"4967213","user":"calvinmetcalf","description":"Rtree Madness"},{"id":"4060606","user":"mbostock","description":"Choropleth"},{"id":"4686432","user":"dwtkns","description":"Faux-3d Shaded Globe"},{"id":"3757101","user":"mbostock","description":"Lambert Azimuthal Equal-Area"},{"id":"5028304","user":"d3noob","description":"Sankey diagram with horizontal and vertical node movement"},{"id":"4343214","user":"mbostock","description":"Quadtree"},{"id":"1346410","user"
@vasturiano
vasturiano / .block
Last active June 10, 2023 11:03
Hilbert Map of IPv6 address space
license: mit
@vasturiano
vasturiano / README.md
Last active April 25, 2023 09:36
Zoomable Sunburst with Labels

Adapted from Mike Bostock's Zoomable Sunburst to include arc labels.

Click on any arc to zoom in. Click on the center circle to zoom out. Click on canvas background to reset zoom.

Also packaged as a reusable component at sunburst-chart.

@vasturiano
vasturiano / README.md
Last active March 29, 2023 10:19
Spinning Wheel

Simulation of the visual illusion that occurs when the visual capture frame-rate is unable to absorb all the intermediary positions of a spinning object. Patterns start emerging at angular velocities that are multiples of even circle divisions.

The wheel's angular velocity increases linearly from 0 to infinity. Its constant acceleration is implemented using the force-constant force type, part of the d3-force simulation engine.