D3.js vs Vue.js examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
308 B

const d3 = require('d3');
// TODO: do it d3-way so I can use selection.call()
export default class PH2 {
constructor(elem, layoutName) {
elem
.append('rect')
.attr('x', 10)
.attr('y', 10)
.attr('width', 10)
.attr('height', 10)
}
setLayout(layoutName) {
}
}