{"version":"1.0","type":"rich","title":"Reusable Clustered Bar Chart with Interaction","description":"A clustered bar chart displays average credit card metrics from a bank customer dataset, grouped by categorical attributes like income or education. Users select the grouping variable and the metric to aggregate, while bar colors encode card category (Blue, Silver, Gold, Platinum). The chart uses D3’s `scaleBand`, `scaleLinear`, and `scaleOrdinal` to position and color bars, with `transition` animating updates. Hovering reveals tooltips showing sums and counts via SVG `title` elements. Data is preprocessed with D3’s `rollups` and `group` functions from a CSV source.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dc1d15d751464dfdbe8f322282ac671c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}