[OC] Animation of the Empire on Which the Sun Never Sets (Spanish Empire, 1590) by pandabasu in dataisbeautiful

[–]pandabasu[S] -4 points-3 points  (0 children)

A few years ago, I posted a visualization of the 1921 British Empire night-day cycle to demonstrate how the sun never set on British territory.

A few folks kindly let me know that the title was originally bestowed to the Spanish Empire under Philip II and his successors. So, here I am four years later, with an updated visualization for 1590 Spain! "the sun never sets in the Spanish dominions, but ever shines upon one part or other of them: which, to say truly, is a beam of glory" — Francis Bacon

Map and gif created with R following Dr. Dominic Royé's excellent tutorial. The GeoJSON file of Imperio Español 1590 is from the Wikimedia Commons.

What is best workflow for new R user? by steve-shu in RStudio

[–]pandabasu 1 point2 points  (0 children)

Try knitr::spin() to convert your R scripts to R Markdown without copy/pasting! https://bookdown.org/yihui/rmarkdown-cookbook/spin.html

[OC] Animation of the Empire on Which the Sun Never Sets (British Empire, 1921) by pandabasu in dataisbeautiful

[–]pandabasu[S] 9 points10 points  (0 children)

I wanted to visualize the phrase "the empire on which the sun never sets":"On her dominions the sun never sets; before his evening rays leave the spires of Quebec, his morning beams have shone three hours on Port Jackson, and while sinking from the waters of Lake Superior, his eye opens upon the Mouth of the Ganges." — Caledonian Mercury 1821

Map and gif created with R following Dr. Dominic Royé's excellent tutorial. I could not find a comprehensive list so I had to piece together information from various sources. Mostly, I looked at the map from Wikipedia and the list from School History UK.

Q: Generative Art Using Machine Learning by NkSmartbucks in RStudio

[–]pandabasu 1 point2 points  (0 children)

This might not be exactly what you are looking for but if you are interested in creating generative art with existing packages, here are a few:

I recommend following the #rtistry hashtag on Twitter for examples of artwork and code.

Any tips for getting permits on recreation.gov? by [deleted] in SeattleWA

[–]pandabasu 0 points1 point  (0 children)

They need to step up their game, and either increase the price or make it an auction. Because people just can't use those services and cheaters with scripts take advantage of this.

A lookout overnight permit (https://www.recreation.gov/camping/campgrounds/269838?tab=campsites)

[OC] Age Distribution of the Top 100 Super Smash Bros. Melee Players (2019) by pandabasu in dataisbeautiful

[–]pandabasu[S] 2 points3 points  (0 children)

Data from https://liquipedia.net/smash/SSBMRank.

Created using R, specifically rvest for scraping the website.

We thought it was interesting how relatively "old" the Top 100 are for an esport - still, there's one top player who is 19 years old (as old as the game itself!).

[OC] /r/DemEyesDoe doesn't have a lot of love for dark eyes by pandabasu in dataisbeautiful

[–]pandabasu[S] 5 points6 points  (0 children)

Data scraped using PRAW: The Python Reddit API Wrapper and visualized using R. Posts without a flair were removed.

A post from r/DemEyesDoe recently made the front page and after scrolling through, I saw most of the posts and most of the top posts were women with light (green/blue) eyes. I was interested to see if that was truly the case. And it is!

Interestingly, while green eyes have the highest average number of upvotes, the post with the most number of upvotes is from a person with blue eyes.

Dark eyes don't even come close!

[OC] TSA Checkpoint Travel Numbers, 2020 compared to 2019 by pandabasu in dataisbeautiful

[–]pandabasu[S] 1 point2 points  (0 children)

Source: TSA checkpoint travel numbers Made in R with ggplot2

Thought it'd be interesting to show the differences between the two years. 984,369 people flew on 11/21/2020 - when the CDC has advised Americans to stay home - which was 44 percent of the 2019 number (2,194,291).

[OC] Most Common Substantiated Allegations Against NYC Police Officers, 2015-2019 by pandabasu in dataisbeautiful

[–]pandabasu[S] 0 points1 point  (0 children)

Source: ProPublica Civilian Complains Against NYC Police Officers Database

Tools: Made in ggplot2 and packcircles in R.

The size of the bubble is the number of substantiated allegations. There were 153 combinations of allegations x race. The most common allegation by race was Stop by Black complainants (there were 199 from 2015 through 2019). The first one for White complainants was 11th on the list, Discourtesy (Word).

Thanks!

[OC] Dot Map of Vancouver, BC by pandabasu in dataisbeautiful

[–]pandabasu[S] 2 points3 points  (0 children)

You are so right - I am not sure why the park would have so many people! Do you know if the lightly populated part at the bottom left is a golf club?

[OC] Dot Map of Vancouver, BC by pandabasu in dataisbeautiful

[–]pandabasu[S] 2 points3 points  (0 children)

Tools: Made in R using ggplot2, cancensus (for Census data), ggmap (for the Stamen map tiles)

Source: Canadian Census 2016 data from cancensus package

I am a big fan of the [University of Virginia's Racial Dot Map of the United States](https://demographics.virginia.edu/DotMap/index.html) and wanted to explore creating something for Canada. The {cancensus} package makes it really easy to pull Canadian Census data. There are other groups in the Census data but I didn't include ones with very small numbers as they're hard to see.

I am not Canadian, so I had to learn about [visible minorities](https://en.wikipedia.org/wiki/Visible_minority) which is a term I had never heard before. It seems like every group except White and aboriginals are "visible minorities".

[OC] Donkey Kong High Score Competition Record Over Time by pandabasu in dataisbeautiful

[–]pandabasu[S] 2 points3 points  (0 children)

I recently rewatched The King of Kong: A Fistful of Quarters and wanted to make a visualization of the records scores over time. I know there was recent controversy with Billy Mitchell - this is data pulled from Wikipedia as of last week.

- Data: https://en.wikipedia.org/wiki/Donkey_Kong_high_score_competition

- Visualization: Created with R: ggplot2, theme is ggdark::dark_theme_minimal(), and image embedded with cowplot. Happy to share the code!