I have figured out that I can load an Inkscape image into a webb page with
// On html page
<div id="svg-container" />
// d3js must be loded
<script>
d3.xml("./my-picture.svg")
.then(data => {
d3.select("#svg-container").node().append(data.documentElement)
});
</script>
The probem is then - how to resize the image.
This might be a d3js problem - but some here might know...
I have figured out that I can load an Inkscape image into a webb page with
The probem is then - how to resize the image.
This might be a d3js problem - but some here might know...
// Gorhas