Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Network Graph of Cardio Attributes

Public visualization

Network Graph of Cardio Attributes

0 stars1🌍 Public
Ffreyatran124@gmail.com
Last edited Apr 9, 2025
Created on Apr 8, 2025
Forked from Tree

This network graph shows the relationships between cardiovascular disease and its associated medical attributes, with the central "cardio" node connected to each attribute such as age, gender, cholesterol, and blood pressure. Using D3 v6, the visualization builds a force-directed layout with `d3.forceSimulation`, `d3.forceLink`, and `d3.forceManyBody` to position nodes, while an ordinal color scale (`d3.scaleOrdinal`) assigns categorical colors. Data is loaded from a semicolon-delimited CSV file via `d3.dsv`, and all nodes and links are rendered as SVG elements with labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed