🌍 Public
Viewing a saved revision (read-only)
d2b0651eedcd4bd0a776d29a49ed47ea
Scatter Plot with Menus on Medical Cost Personal Dataset
This interactive scatter plot explores the Medical Cost Personal Dataset, showing relationships between patient attributes like age, BMI, and children. Users select which attribute maps to the x- and y-axes via two ReactDropdown menus, with smoker status encoded by the color of each circle. Built with React and D3 v5, the visualization uses scaleLinear for axes, scaleOrdinal for colors, and custom SVG components for axis ticks and marks, loading data via d3.csv.
AI-generated descriptionA scatter plot of Medical Cost Personal Datasets.