Adjacency Matrix Using D3
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 descriptionAssignment 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} }