Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 3

Public visualization

Viewing a saved revision (read-only)

9d15609fbcd041ddb754300fb7af04f4

Assignment 3

0 stars1🌍 Public
AAbhi Yammanuru
Last edited Sep 7, 2025
Created on Sep 7, 2025

This visualization displays the relationship between age and cholesterol levels in a heart attack prediction dataset from Kaggle. Each circle represents a patient, positioned by age on the x-axis and cholesterol on the y-axis. Built with React and D3 v7, the visualization loads CSV data and uses `d3.scaleLinear` for axis scaling. Circles are rendered using the D3 `selectAll().join()` method to bind data points to SVG circle elements, creating a scatter plot where all points share the same size and color.

AI-generated description