{"repo":"vasturiano/d3-hilbert","free":true,"listed":false,"github":"https://github.com/vasturiano/d3-hilbert","clone":"git clone https://github.com/vasturiano/d3-hilbert.git","description":"D3 layout to visualize distance variables using a continuous Hilbert space-filling curve.","language":"JavaScript","stars":21,"topics":["d3js","hilbert-curve","space-filling-curves","layout","data-visualization"],"license":"MIT","category":"analytics","readme_excerpt":"d3-hilbert ============== [![NPM package][npm-img]][npm-url] [![Build Size][build-size-img]][build-size-url] [![NPM Downloads][npm-downloads-img]][npm-downloads-url] D3 layout to visualize distance variables using a continuous Hilbert space-filling curve. Here's an example. See also d3-morton. If you are looking for a module that also performs rendering, please see hilbert-chart. Quick start or using a script tag then API reference Method Description Default ------------------ -------------------------------------------------------------------------------------------------------------------------- ------------- canvasWidth ([ number ]) Getter/setter for the length of each side of the hilbert square canvas. 1 order ([ int ]) Getter/setter for the extent of the hilbert curve domain, determined by 4^order . The maximum safe order is 26 , due to the JS numbers upper-boundary of 53 bits. 4 simplifyCurves ([ boolean ]) Getter/setter for whether to simplify the resolution of the curve to the most canonical 2-bit boundary that fits the range integral. For example, in a 2nd order curve (16 values), a range from 4 to 11 can be simplified from 8 vertices to 2 (each filling a square with 4 values), on the lower quadrants. This simplification greatly reduces the number of vertices in the curve and improves the calculation and rendering performance, specially for high-order ranges which tend to fall on bit boundaries, such as the case of IP address routes. true layout ( rangeObject ) Exten","default_branch":null,"files":null,"tree":[],"storefront":"/r/vasturiano","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vasturiano/d3-hilbert/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}