Assignment #12

 



I completed my social network visualization using Python in Google Colab, which made the process pretty smooth. Colab was convenient because I didn’t need to install anything manually, everything ran in the browser, and the required libraries were already available. NetworkX worked well for generating the random graph and assigning labels to each node, and using the spring layout made the network easy to read.

I did run into an issue when I tried to use Plotnine, because Colab threw import errors related to the underlying packages. Since Plotnine wouldn’t load, I switched to Matplotlib instead. After making that change, the graph displayed without any problems. This actually made the assignment easier, because Matplotlib produced the visualization in a simple and reliable way.

Overall, the method was effective, and I would use it again. Even though my original plan was to follow the Plotnine example, using Matplotlib still met the requirements and helped me better understand how flexible Python can be for data visualization. Google Colab also made it easy to test and rerun the code until everything worked correctly.

Comments

Popular posts from this blog

Final Project LIS4317

Module 11 assignment