Skip to main content
100%

Final Project

✓ Published0🌍 Public
Jjojongo15342@gmail.com
Last edited Nov 14, 2025
Created on Nov 14, 2025
Forked from Prototype 4

This scatter plot displays insurance charges against patient age, with points colored by a user-selected attribute such as smoker status, sex, region, BMI category, or number of children. A legend updates dynamically, and linear regression lines are calculated for each color group to reveal trends. Built with React and D3.js (d3.v7), the visualization uses `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft` to render the chart from the `data.csv` file.

AI-generated description
MIT Licensed

Similar vizzes