Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Medical Insurance Cost Scatterplot

Public visualization

Medical Insurance Cost Scatterplot

0 stars0🌍 Public
Jjojongo15342@gmail.com
Last edited Sep 11, 2025
Created on Sep 11, 2025

This scatterplot displays the relationship between age and income, with each point representing an individual from a medical insurance cost dataset. The visualization shows how income distribution varies across different ages, using blue and red circles to distinguish income levels. Built with React and D3 v7, the code uses `scaleLinear` to map the data domains, `axisBottom` and `axisLeft` for the axes, and the `join` pattern to bind data to SVG circles. The data is loaded from a CSV file containing insurance records.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed