Skip to main content
100%

Fork of scatter plot out of pocket prescription drug expenditure

✓ Published0🌍 Public
KKhatera Alizada
Last edited Feb 19, 2023
Created on Feb 19, 2023

This scatter plot visualizes out-of-pocket prescription drug expenditure across age group 19-44, with data split by gender. Blue circles represent males, yellow circles represent females, and red circles show total expenditure across the years 2002-2014. The chart uses d3.scaleLinear for both axes and d3.scaleOrdinal for color encoding. Data is loaded from a local CSV file and parsed with d3.csvParse. The visualization implements axes through a custom axes function using d3.axisLeft and d3.axisBottom.

AI-generated description

Loading a CSV file, Health Expenditure Dataset.

Males: blue circles Females: yellow circles Total (Females + Males Expenditure): Red circles

https://www.cms.gov/Research-Statistics-Data-and-Systems/Statistics-Trends-and-Reports/NationalHealthExpendData/Age-and-Gender

MIT Licensed

Similar vizzes