Fork of transformation health expenditure Year Column
This visualization examines personal health care spending by age group, gender, and payer, using data from CMS National Health Expenditure Accounts. It displays per capita expenditure differences between males and females across age cohorts (0-18, 19-64, 65+) for years 2002–2014. The code loads a CSV via `d3.csvParse` from a GitHub gist, then uses `d3.flatRollup`, `d3.sum`, and `d3.group` to aggregate and summarize the filtered records, outputting computed averages and category sets as JSON text via `select().join()`. Data sets include payer, service type, age group, gender, and year.