2
$\begingroup$

It would be very useful if one could export interactive Tooltip graphics to an HTML file like:

Export["Desktop/test.html",
  Graphics[{
    Pink, Tooltip[Disk[{1, 2}, 1], "This is a disk"],
    Cyan, Tooltip[Disk[{3, 1}, 1], "This is another disk"],
    Blue, Tooltip[Disk[{4, 3}, 1], "This is a third disk"]
  }], "HTML"]

I would like to put this HTML file on the web and have anyone access an interactive graphic file (actually, much more complex than what is shown above, it has extensive geographic data with extensive Tooltip data per county. I can do this with .CDF but doing that requires people to download the CDF Player and to download a very big and cumbersome file. I would hope that XML or HTML5 support will be coming in later versions of Mathematica.

$\endgroup$

closed as off-topic by m_goldberg, C. E., user9660, Sjoerd C. de Vries, MarcoB Nov 1 '15 at 14:51

  • The question does not concern the technical computing software Mathematica by Wolfram Research. Please see the help center to find out about the topics that can be asked here.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ Go to dev.wolframcloud.com/app and create a new notebook. Copy and paste the Graphics part of your code (not Export) into the notebook and evaluate it. Then click "deploy" and choose "published page", then choose "static web page" and click "generate URL". You will now have a URL that you can share, it will look like a CDF but it will be made in HTML5/JavaScript, so others won't have to download the CDF player. There are ways to deploy content from inside Mathematica, I'm just pointing you to dev.wolframcloud.com because it's easy to try things out there. $\endgroup$ – C. E. Nov 1 '15 at 6:15
  • 5
    $\begingroup$ I'm voting to close this question as off-topic because it does not ask a question, but requests an enhancement to Mathematica as as such is not suited to this site. $\endgroup$ – m_goldberg Nov 1 '15 at 6:17
  • 1
    $\begingroup$ I vote to reopen this question because the question it implies is an interesting one and as the comment by @C.E. shows there are possible solutions. $\endgroup$ – Sascha Dec 8 '17 at 13:30
  • $\begingroup$ Related: https://mathematica.stackexchange.com/q/30485/4597 $\endgroup$ – Sascha Dec 8 '17 at 13:37