2

I have an distance matrix (as DataFrame) as below for which I would like to create an plot like the second graph to visualize the distances. Is there any available plot object in Python can visualize distance matrix?

enter image description here

enter image description here

Mark Li
  • 429
  • 1
  • 7
  • 21

1 Answers1

2

Try any of these:

  1. NetworkX- its a python package which maybe used to plot graphs.
  2. Graphviz - Graph Visualization Software or graphviz 0.4.10

For a start maybe go through Generating Graph Visualizations with pydot and Graphviz

Ani Menon
  • 27,209
  • 16
  • 105
  • 126