Closed alincode closed 3 years ago
var g = svg.append("g").append("image")
.attr("width", width / 2)
.attr("height", height )
.attr("xlink:href", "data:image/png;base64," + data); // replace
not work
await fetch("http://lorempixel.com/32/32",{mode: 'no-cors'})
await fetch('https://cross-http.herokuapp.com/http://lorempixel.com/400/200/').then(x=> console.log(x.text()))
https://cross-http.herokuapp.com/http://lorempixel.com/400/200/