Skip to main content
100%

Fork of Multiple Line plot with Dropdown Health Cost by Age

✓ Published0🌍 Public
KKhatera Alizada
Last edited Apr 28, 2023
Created on Apr 12, 2023

This visualization displays official estimates of total health care spending in the United States, broken down by age group and gender. A dropdown menu allows the viewer to select different expenditure categories, such as out-of-pocket costs for hospital care or private health insurance for dental services. The data is sourced from CMS National Health Expenditure data, with each category rendered as a smooth line chart using d3.line and d3.curveBasis. The visualization uses d3.scaleTime and d3.scaleLinear for axes, and d3.scaleOrdinal to color-code lines for total, males, and females. SVG paths are animated with a transition duration of 1.5 seconds.

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