{"version":"1.0","type":"rich","title":"Fork of Exploring survey data interactively - y-axis","description":"This interactive bar chart explores survey data by grouping respondents by their academic subject preference on the x-axis while a dropdown menu selects the y-axis variable, such as average height or stress levels. The visualization uses d3.scaleBand and d3.scaleLinear to map the data, and a d3.select form element triggers a `selectionChanged` handler that updates the axis and bar heights using the general update pattern. Data is loaded from a remote JSON source and processed with d3.nest, d3.mean, and d3.sum to aggregate values per preference group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8874a2591c8e415d993faaa7e350319a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}