Skip to main content
100%

Multiple Line plot with Dropdown Health Cost by Age

✓ Published1🌍 Public
KKhatera Alizada
Last edited Mar 25, 2023
Created on Mar 19, 2023

This interactive visualization displays health care spending in the United States by age group, gender, and payment source. A dropdown menu lets users select different expenditure categories, while the line chart animates between views using D3 transitions. The chart plots spending over time for total, male, and female populations, with a color legend distinguishing these groups. The visualization uses d3.csv, d3.scaleTime, d3.scaleLinear, d3.line, d3.nest, and d3.axisBottom/axisLeft to render SVG paths and axes, based on data from the Centers for Medicare & Medicaid Services.

AI-generated description

Scatter plot of official estimates of total health care spending in the United States by age group. https://www.cms.gov/Research-Statistics-Data-and-Systems/Statistics-Trends-and-Reports/NationalHealthExpendData/Age-and-Gender

MIT Licensed

Similar vizzes