{"version":"1.0","type":"rich","title":"D3 bar chart with animation","description":"Ten bars animate in a loop, changing height and color every half second. The bars represent random values between 0 and 1, with a linear color scale mapping low values to yellow and high values to green. The code uses D3 v4 with SVG, updating the bars via `d3.selectAll(\"rect\").data(data).transition()`. It sets `d3.scaleBand` for x positioning, `d3.scaleLinear` for y and color, and generates new random data each interval.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8cbfc3d013e1749f8d016d16d08313cc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}