Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Graph

Public visualization

Viewing a saved revision (read-only)

b6dff1d51210452aada43427d454e5cc

Fork of Graph

0 stars0🌍 Public
Rreddysushma994@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from ICE-8 (Part-2)

This example shows a hand-coded social network graph with ten named nodes and sixteen links, rendered directly to an HTML canvas element. The visualization displays relationships between people like Alice, Bob, and Charlie, using fixed node coordinates and static connections defined in JavaScript arrays. The code uses the native Canvas 2D API, specifically calling `ctx.arc()` for nodes, `ctx.lineTo()` for links, and `ctx.fillText()` for labels, with a light blue background and gray edges. Node positions are hardcoded rather than computed by a layout algorithm, and the canvas dimensions are adjusted dynamically based on the maximum node coordinates before drawing.

AI-generated description

CSCE 5320.002 Scientific Data Visualization (ICE-8)

Part-2 Social Network Graph

  • Pavan Krishna Yarlagadda (11600263)