Fork of scatter plot out of pocket prescription drug expenditure
✓ Published0🌍 Public
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 descriptionLoading a CSV file, Health Expenditure Dataset.
Males: blue circles Females: yellow circles Total (Females + Males Expenditure): Red circles
MIT Licensed