{"version":"1.0","type":"rich","title":"Ruler and ants problem","description":"A line of red and black circles moves across an SVG ruler, bouncing off the edges and each other. The simulation uses D3 v6 with `d3.select` to manage the SVG and `d3.axisBottom` with `d3.scaleLinear` for the ruler. A `setInterval` updates positions every 70 milliseconds; collisions reverse velocities when circles overlap.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1f883d463fc34f4ea6785aaaf259b067?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}