::include_graphics('plots/day20_dcc_22.gif') knitr
Day 20
Julia
Data Viz
ggplot2
Data analysis
Day 20 from #30dataChartChallenge
Code
using Plots, Random
= rand(50)
a = rand(50)
b
# scatter(x, y)
= range(0, stop=10, length=1000)
t = cos.(t)
x = sin.(t)
y = sin.(5t)
z
= range(0, stop = 1.5π, length = 100)
Θ = abs.(0.1 * randn(100) + sin.(3Θ))
r
= @animate for i in 1:50
anim = plot(x, y, z)
d3 = scatter(Plots.fakedata(50, 2), ms=i, lab="", alpha = 1 - i/50)
s = plot(Θ, r, proj = :polar, m = 2)
c plot(d3, c, s)
# scatter!(cumsum(randn(i)), ms=i)
end
gif(anim, "plots/day20.gif", fps=50)
# gif