Like in the previous example, two Vue.js components are instantiated, each one displaying a different matrix of numbers. In this example, the two views have a notion of shared selection (the orange square). You can click another square to change the selection in both views.
https://d3js.org/d3.v4.min.js
https://unpkg.com/vue/dist/vue.js