I am writing a web app in Python/Flask and in the HTML the users can create a special type of chart which is basically an image in a div that when the user clicks it overlays circle divs on top of it.
Right now users are just taking a screen shot of the generated chart but I am looking for an easier way to do this using either Python or Javascript/jQuery that knows how to make an image based on the contents in a specific div.
What is the best way to go about this?