Skip to main content
100%

matrix component

✓ Published0🌍 Public
AAdriU82
Last edited Jul 27, 2018
Created on Jul 27, 2018

This example demonstrates an interactive 3x3 matrix component for exploring linear algebra concepts, where each cell displays a numeric value. Built with D3.js, it uses custom `d3.layout.matrix` and `d3.svg.matrix` components to render the grid. Users can scrub (drag) any number to adjust its value, and the colored background cells—mapped via a separate array—highlight corresponding entries across the matrix. The SVG rendering includes draggable text elements, with cell colors derived from a categorical scale and linked to shared mapping keys.

AI-generated description

Working towards a reusable matrix component to help illustrate linear algebra concepts.

try scrubbing the numbers on each matrix, notice that the colored cells correspond to each other in the 3x3.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/b41c59f0b6eaf54498c0'>matrix component</a>

mit Licensed

Similar vizzes