{"version":"1.0","type":"rich","title":"New Technique","description":"This example shows average sleep efficiency by gender in a bar chart, with a button that randomly changes the fill color of the bars. The visualization loads CSV data and aggregates it into male and female averages, then renders the bars using D3 v7’s `scaleBand` and `scaleLinear`. Clicking the button triggers a `transition` with a two-second duration, applying a random color from a predefined array via `d3.selectAll(\"rect\").style(\"fill\")`. The chart includes labeled axes generated with `axisLeft` and `axisBottom`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f40d904f38bf40af96baa77a9cecaae4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}