{"version":"1.0","type":"rich","title":"collatz conjecture","description":"The visualization maps the Collatz conjecture for integers 0 through 5199, encoding each number’s stopping time as a fill color and its maximum reached value as a stroke color. Hovering over a square reveals the integer, cycle count, and peak value. Built with D3.js (v3), it renders 5,200 SVG rectangles in a grid, using `d3.scale.linear` with HSL interpolation to create the color gradients. The underlying `collatz` function calculates cycle counts and maxima for each input.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-426bed13ce94decfcf481f2f5e3ff1db?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}