Skip to main content
Public

Share visualization

Loading preview…

Adjacency Matrix Using D3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Adjacency Matrix Using D3

1
OOlha
Last edited May 24, 2022
Created on Apr 18, 2022

This adjacency matrix visualizes connections between nodes in a hi-tech firm network using a grid where colored cells indicate edges. The D3.js v7 code renders the matrix as SVG rectangles, with row and column labels for node IDs, and highlights entire rows and columns on hover with a tooltip showing link details. It uses d3.scaleBand for positioning, d3.csv for data loading, and the d3-legend library for potential legend support, with data sourced from networkrepository.com.

AI-generated description

Assignment 7 part B

Adjacency Matrix Using D3

Inspired by:

I've looked through several examples and these approaches are nice: https://bl.ocks.org/zwang155/cfb7a70b6d08c1089b123235b874da37 https://bl.ocks.org/micahstubbs/7f360cc66abfa28b400b96bc75b8984e

Used lib: https://d3-legend.susielu.com/ used documentation: https://github.com/d3/d3/blob/main/API.md

Data: I've tried to do the matrix with the same dataset, but it is too heahy and hangs my browser, so I've switched to this lite version, but there is code, that if uncommented, would show the original datase I've worked with. https://networkrepository.com dataset was used: < https://networkrepository.com/soc-firm-hi-tech.php>

@inproceedings{

  • nr,
  • title = {The Network Data Repository with Interactive Graph Analytics and Visualization},
  • author={Ryan A. Rossi and Nesreen K. Ahmed},
  • booktitle = {AAAI},
  • url={https://networkrepository.com},
  • year={2015} }

Comments

Sign in to join the discussion.

MIT Licensed