Skip to main content
100%

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

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

This grouped bar chart visualizes average gadget usage across different employment statuses, broken down by reasons for play. The visualization uses a nested bar structure where each employment category contains sub-bars for each play motivation. It employs `d3.scaleBand` for both the main and subgroup positioning, `d3.scaleLinear` for the y-axis, and `d3.scaleOrdinal` for color encoding. The SVG renderer draws axes with `d3.axisLeft` and `d3.axisBottom`, while data is loaded asynchronously from a CSV file using `d3.csv`. A legend maps years to colors, though the data actually represents employment categories rather than homeless population counts.

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