Hello, I'm trying to figure out how to access the text
object using the child parent CSS selector notation.
https://i.sstatic.net/ox2ur.png
For example, if $(#mydivID > svg)
would get my SVG object which has no class name or ID, then how would I access the text
object? Would it be something like $(.x axis > g > text)
? I'm not entirely sure.
I am currently working with D3, but both jQuery and D3 can utilize similar notation for selectors. Since more people are familiar with jQuery, I thought asking here might yield an adequate answer to my question.