query selector with data attribute containing code example
Example 1: queryselector data attribute
document.querySelectorAll(`[data-name*="funnel-chart-percent"]`)
Example 2: javascript queryselector data attribute
document.querySelector(`[data-price="50"]`)