The way that can be named is not the eternal way. – Lao Tzu
A base for building data-oriented websites in Clojure, ClojureScript, and Vega.
General web infrastructure
Web utilities (spinners, modals, forms, etc)
Data fetching
/health endpoint
Vega tooling for clustered heatmaps
Vega tooling for violin diagrams
Ag-grid wrapping for data tables
Rich text editor
OAuth supprt

Clustered heatmaps are a powerful data visualization technique that combines the functionalities of heatmaps and hierarchical clustering. A heatmap uses color to represent the values in a data matrix, allowing for an immediate visual assessment of patterns and trends. Each cell in the matrix is colored according to its value, making it easy to spot anomalies and relationships within the data.
Hierarchical clustering groups similar data points into clusters based on their characteristics, creating a tree (dendrogram).
When these two techniques are combined, the rows and columns of the heatmap are reordered based on the clustering results, grouping similar data points together. This reordering makes the patterns and relationships within the data more apparent. Clustered heatmaps are particularly useful for identifying patterns, reducing data complexity, and revealing hidden structures within large data sets.
The code to generate clustered heatmaps is actually pretty simple, and lives in two files:
See Demo repo
lein install
lein deploy clojars using Hyperphor token
0.2.0 switch to hyperphor.way namespace, reorg code 0.2.1 add draggable?
Copyright © 2020-25 Hyperphor
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |