get query selector with a data attribute code example Example: queryselector data attribute document.querySelectorAll(`[data-name*="funnel-chart-percent"]`)