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.
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