Another rectangular adjacency matrix as in the previous example, this time using a color scale to convey the magnitude of a link's weight. The example random data shows the energy consumption of a hypotetical office, according to time of day and day of week.
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-selection-multi.v0.4.min.js