{"repo":"vasturiano/hilbert-chart","free":true,"listed":false,"github":"https://github.com/vasturiano/hilbert-chart","clone":"git clone https://github.com/vasturiano/hilbert-chart.git","description":"Hilbert space-filling curve chart","language":"JavaScript","stars":36,"topics":["hilbert-curve","space-filling-curves","d3js","chart","d3-charts","layout","data-visualization"],"license":"MIT","category":"analytics","readme_excerpt":"Hilbert Chart ============== [![NPM package][npm-img]][npm-url] [![Build Size][build-size-img]][build-size-url] [![NPM Downloads][npm-downloads-img]][npm-downloads-url] A hilbert space-filling curve chart for representing one-dimensional lengths on a two-dimensional space. Live example at: https://observablehq.com/@vasturiano/hilbert-map-of-ipv4-address-space Quick start or using a script tag then API reference Initialisation Config options Description Default --- --- :--: useCanvas : boolean Whether to use HTML5 Canvas ( true ) or SVG ( false ) as rendering method. Canvas yields much better rendering performance for very large number of items. false zoomWithModKey : boolean Whether to require a modifier key (meta or ctrl) to be pressed in order to engage the scrolling zoom. false Methods Method Description Default ------------------ -------------------------------------------------------------------------------------------------------------------------- ------------- width ([ number ]) Getter/setter for the length of each side of the square chart, in px. (fit to window) margin ([ number ]) Getter/setter for the chart margin that contains the axis ticks and labels, in px. 90 hilbertOrder ([ number ]) Getter/setter for the extent of the hilbert curve range, determined by 4^order . Values higher than 26 are disadvised, due to JavaScript's MAX SAFE INTEGER. 4 data ([ array ]) Getter/setter for the list of ranges to render. Each range object should follow the minimum syntax of {s","default_branch":null,"files":null,"tree":[],"storefront":"/r/vasturiano","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vasturiano/hilbert-chart/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."}