How to make clicks on input radio?

Make the gallery, tell me how to implement this auto on a circle, i.e. change the active radio every 3 seconds within a diva ?
<div class="gallery-colors">
<label><input id="001" name="bmw" type="radio"/></label>
<label><input id="002" name="bmw" type="radio"/></label>
<label><input id="003" name="bmw" type="radio"/></label>
<label><input id="004" name="bmw" type="radio"/></label>
the <div>
March 19th 20 at 08:33
1 answer
March 19th 20 at 08:35
Solution
setInterval(() => {
 const radios = [...document.querySelectorAll('.gallery-colors input')];
 radios[(radios.findIndex(n => n.checked) + 1) % radios.length].click();
}, 1000);

Find more questions by tags jQueryJavaScript