1.
.png)
I created both of these by changing the colors to green. I also changed the latitude and longitude of all the circles so some of them went off of the page. This led to the planets being out of order.
2.
This was not my personal data because it was downloading. But through this process I had difficulty with changing the google sheets and understanding the code. But, through this I learned how to connect the different codes together and adjust the document. In the second visualization exercise, I used a Python program named maps.py along with a csv data file to create a map with the locations from the program. The maps.py program read and stored the CSV data. Then it completed a function from the imported folium library to create leaflet maps. Through a loop, the program printed the map with the dotted locations from the data file and ultimately saves it as an HTML file, which you can run on your browser.
3.

For the third visualization exercise, I used a file named amanda_temp.txt, which consists of two columns of data with temperature and thermistor. The second column provides the best estimation of the corresponding depth of the thermistor, measured in meters. I used ChatGPT to develop a Python program for plotting the data with specific keywords and instructions, such as creating a program that reads a text file containing two columns (temperature in Celsius and depth), and generating a plot showcasing temperature versus depth, I obtained a program that met our requirements. Once ChatGPT generated the program, I copied and paste it into Replit. It then created this graph.
4.
I used a code file called weather2.py. It retreieved data from metars in aviationweather.gov and employed the tkinter. It created various weather gauges for each airport. The get_data() function retrieved the data by making an HTTP request to the website and taking out the important information. The code that draws the objects in the output is located in the run() function. The canvas object from the tkinter library is used to create various graphics such as text labels, ovals, rectangles, and arcs. To change one of the shapes, I would select the wind gauge. Since there was a sqaure, I made it into a circle.5.
.png)
.png)
.png)
Comments
Post a Comment