Here is a simple notebook playing around with manual placement of labels/annotations:
This seems a little clunky, especially the copy and pasting (though d3-svg-annotation requires the same, as I recall). I welcome feedback or pointers to other notebooks trying to do the same thing. I often need to label/annotate charts and maps, and would love to avoid having to export and open in Illustrator just to move some labels around.
By the ways, thanks @Fil for this notebook and many others:
With regards to other notebooks, this one comes to mind though perhaps youâve already seen it:
Iâm not sure if I understood precisely what workflow youâre after, but hereâs a fork with a button that updates the Map object with the current coordinates when you click it:
You can drag and then edit the svg cell without resetting the coordinates in the Map and then drag again, etc. (just donât rerun the Map cell or refresh the page until youâve done the copy+paste thing)
Edit: in fact, if you want to have the Map update automatically without having to click the button, you can just put this function into its own cell: