jnv / death-o-meter

Visualization of deaths of famous people in 2016
https://jnv.github.io/death-o-meter/
Creative Commons Attribution 4.0 International
3 stars 0 forks source link

Improve tooltips #9

Open jnv opened 7 years ago

jnv commented 7 years ago

Something similar to Wiki popups: https://www.mediawiki.org/wiki/Extension:Popups

Prefetch the data using API (or even from SPARQL) and place them either as individual files or as part of the source data.

Query example:

https://en.wikipedia.org/w/api.php?action=query&format=json&prop=info|extracts|pageimages|revisions&formatversion=2&redirects=true&exintro=true&exchars=525&explaintext=true&piprop=thumbnail&pithumbsize=300&rvprop=timestamp&titles=Eddie_Fisher_%28singer%29&smaxage=300&maxage=300&uselang=content
jnv commented 7 years ago

https://github.com/nahojd/vanilla-tooltip https://github.com/mkay581/tooltip-js http://ytiurin.github.io/html5tooltipsjs/ http://chrisdavies.github.io/tlite/

https://github.com/sahil290791/hover_cards