Visualizing using Circos plots
Circos plots are a rational, non-cluttered way of visualizing graph data, in which nodes are ordered around the circumference in some fashion, and the edges are drawn within the circle that results, giving a beautiful as well as informative visualization about the structure of the network.
In this exercise, you'll continue getting practice with the nxviz API, this time with the circos plot. matplotlib.pyplot has been imported for you as plt.
Latihan ini adalah bagian dari kursus
Introduction to Network Analysis in Python
Petunjuk latihan
- Import
circosfromnxviz. - Plot the Twitter network
Tas a Circos plot without any styling. Use thecircos()function to do this. Don't forget to display it usingplt.show().
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Import necessary modules
import matplotlib.pyplot as plt
____
# Create the circos plot: c
c = ____
# Display the plot
____