{"version":"1.0","type":"rich","title":"histogram","description":"An interactive histogram displays aggregate survey data grouped by student subject preference, with bars representing selectable metrics like average height, stress, or expense. Using D3 v5, a dropdown menu generated from the data fields triggers a selection change, updating the y-axis scale and re-rendering bar positions and heights via attribute updates. The visualization uses `d3.nest()` and `d3.rollup` to compute averages and sums from the JSON source, with axes created using `d3.axisBottom` and `d3.axisLeft`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f27b8cdaa2944bd88e87dbdd82dfc653?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}