WORK
✓ Published0🌍 Public
GGeorgeVard
Last edited Jun 24, 2021
Created on Jun 24, 2021
The visualization displays average GAD-7 scores by employment status and reason for playing games, with each employment category further divided into gender-based sub-bars using a grouped bar chart. It shows the complete dataset without aggregation, rendering all 16 data points from the CSV file. The implementation uses d3.csv for data loading, scaleBand for both the primary and nested categorical scales, scaleOrdinal with explicit RGB color values for gender encoding, and scaleLinear for the y-axis. Axes are rendered with d3.axisLeft and d3.axisBottom, while SVG rectangles draw the bars.
AI-generated descriptionThere wasn't a lot of data so I just found ways to display the entire dataset for both.
MIT Licensed