Posts

Showing posts from April, 2026

Data Visualization with Python

Image
For this week’s homework assignment, I had to create a social network graph using Python.  Creating the random graph worked smoothly and translating the nodes and edge data into pandas DataFrames was simple when following the given code.  The only problem I ran into was that after typing it into PyCharm, it would not graph for me.  It simply returned a ggplot object.  After some troubleshooting, I figured out that I could save the plot as an image to see it.  This was helpful, and I can definitely see myself using this in the future for visu alizing connections.

Generating Dr.Piwek Dot Dash in RStudio

Image
For this assignment, I recreated a dot-dash plot presented in Dr.Piwek's post using the base R graphics. The plot displays per capita budget expenditures from 1967 to 1977. Following Dr.Piwek's example, I connected the dots with lines to make it more visually clear and closer to his example. The dashed lines were also used horizontally to give the viewer a reference point when looking at the graph. Overall, all the examples that I examined by Dr.Piwek showed a visually appealing and readable visualization, and it was a good exercise to attempt to recreate it following his amazing work.