Exploring survey data interactively - y-axis
An interactive bar chart explores survey data by visualizing aggregated values for different student interest groups. A dropdown menu lets users select which variable to display on the y-axis, including averages for height, stress, and expenses. Built with D3 v5, the chart updates scales, axes, and bar positions dynamically when the selection changes, while the data preparation module handles filtering and aggregation. The chart uses SVG rendering and data joins to generate the form options and bars.