Skip to main content
100%

Fork of Bar Graph - New York Homeless Population (2009-2012)

✓ Published1🌍 Public
GGeorgeVard
Last edited Jun 28, 2021
Created on Jun 24, 2021

This visualization displays GAD-7 scores (a measure of anxiety) grouped by reason for playing games and gender, using a nested bar chart that compares average scores across four motivational categories. The bars are color-coded by gender (male, female, other) and positioned side-by-side within each reason group. The code uses D3 v5’s `csv`, `scaleLinear`, `scaleBand`, and `scaleOrdinal` to parse the data from `data.csv` and render SVG rectangles with axes. The rendering is entirely SVG-based, with a title and axis labels added as text elements.

AI-generated description

There wasn't a lot of data so I just found ways to display the entire dataset for both.

MIT Licensed

Similar vizzes