vasturiano / d3-hilbert Goto Github PK
View Code? Open in Web Editor NEWD3 layout to visualize distance variables using a continuous Hilbert space-filling curve.
Home Page: https://observablehq.com/@vasturiano/hilbert-curve
License: MIT License
D3 layout to visualize distance variables using a continuous Hilbert space-filling curve.
Home Page: https://observablehq.com/@vasturiano/hilbert-curve
License: MIT License
Suggestion
To use someting like parseInt(cell_id,4)
instead of decimal representation. Can be also an input-radio, controlling the user decision about decimal or hierarchical.
Rationale
The refinement ratio of the region-grid indexed by Hilbert and Morton curves is 4, so the base 4 is the natural way to represent Cell ID for humans: the base4(cell_id) is also a label of the hierarchy.
Is an idea to reuse all script for another kind of interface, that is usual for teaching or to analyse grid behaviour. The main problem is the XML SVG language, it is ugly for put text into rectangles, but perhaps D3 (and x,y reuse) offers a better solution.
Using grid with geographical map, examples: leaflet with geohash and quadtree, old google-map with geohash, ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.