Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task3

Public visualization

Task3

0 stars1🌍 Public
Sshanmukhivasa@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This scatter plot visualizes a heart disease dataset, showing the relationship between resting blood pressure and serum cholesterol. Each circle represents a patient, with its color indicating chest pain type: sky blue for typical angina, light green for atypical angina, orange for non-anginal pain, and red for asymptomatic cases. The D3 v6 code loads CSV data, uses `scaleLinear` and `extent` to map axes, and renders SVG circles with the `join` pattern. Axis labels are added as SVG text elements, with the chart sized to the full `window.innerWidth` and `window.innerHeight`.

AI-generated description

Scatter plot genarted for Heart diseases dataset

Comments

Sign in to join the discussion.

MIT Licensed