{"version":"1.0","type":"rich","title":"Exploring survey data interactively - both axes","description":"This interactive bar chart lets users explore survey data by changing both axes through dropdown menus. Selecting a variable re-nests the data using `d3.nest()` and updates the scales, axes, and bars with the general update pattern, including explicit enter, update, and exit selections. The visualization uses D3 v5 to render SVG elements, with data loaded from a JSON endpoint. The y-axis displays aggregated metrics like averages or totals computed via `d3.mean` and `d3.sum`, while the x-axis groups respondents by categorical fields.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0e37e2146acf4a8db9a55f6f3509f090?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}