3 ms·
It looks pretty easy to extract from the svg elements, as the aria-label attributes contain everything, e.g. "Urban and regional planners, Colour 2: Grey, Size:
by mkl 2y ago
It looks pretty easy to extract from the svg elements, as the aria-label attributes contain everything, e.g. "Urban and regional planners, Colour 2: Grey, Size: 1, Mean age at death, years: 76.82, Risk-adjusted % of Alzheimer's deaths: 1.92". The following seems to work (may need to be inspecting something in the plot iframe):
a = []; document.querySelectorAll('path.data-point').forEach(e => { a.push(e.ariaLabel); }); console.log(a.join('\n'))