I found a very thought provoking and beautiful visualization on the D3 Website regarding prime numbers. What the visualization shows is that if you draw periodic curves beginning at the origin for each positive integer, the prime numbers will be intersected by only two curves: the prime itself’s curve and the curve for one.
When I saw this, my mind was blown. How interesting… and also how obvious. The definition of a prime is that it can only be divided by itself and one (duh). This is a visualization of that fact. The patterns that emerge are stunning.
I wanted to build the data and visualization for myself in R. While not as spectacular as the original I found, it was still a nice adventure. I used Plotly to visualize the data. The code can be found on github. Here is the visualization:
All Tags |
data visualization |
9
|
R |
9
|
data science |
8
|
data engineering |
6
|
data analysis |
5
|
projects |
4
|
D3.js |
3
|
learning |
3
|
open data |
3
|
3
|
AI |
2
|
api |
2
|
machine learning |
2
|
plotly |
2
|
sentiment analysis |
2
|
shiny |
2
|
Strava |
2
|
articles |
1
|
AUC |
1
|
cartoDB |
1
|
classification |
1
|
conferences |
1
|
data analytics |
1
|
data jawn |
1
|
getting started |
1
|
ggplot |
1
|
google search |
1
|
hackathon |
1
|
linear regression |
1
|
logistic regression |
1
|
maching learning |
1
|
model coparison |
1
|
philly magazine |
1
|
prime numbers |
1
|
random forest |
1
|
roadmap |
1
|
ROC curves |
1
|
rStrava |
1
|
RStudio |
1
|
sierpinski triangles |
1
|
Splunk |
1
|
stat theory |
1
|
statistics |
1
|
supervised learning |
1
|
tableau |
1
|
tableau public |
1
|
unsupervised learning |
1
|
user agents |
1
|