holtzy / D3-graph-gallery

A collection of simple graphics made with D3.js
https://www.d3-graph-gallery.com
MIT License
790 stars 237 forks source link

Add missing documentation on tooltip styles #38

Closed fkellner closed 3 years ago

fkellner commented 3 years ago

Without these 2 lines, the code shown is not enough to create the demonstrated tooltip. I had to use the developer tools in order to find out which additional styles were missing from the tooltip in my project. Therefore, I propose to add these 2 lines in order to document the required properties.

Alternatively, one could add them in the css part.

See also: https://github.com/holtzy/D3-graph-gallery/issues/36

holtzy commented 3 years ago

Thanks agaiin!