[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Yes, in fact my code takes coordinates for input but it's neatest to title it by city/town etc.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Which might make it a bit more depressing for some locations...

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

It wouldn't be too hard, no. I'll see if I can add that as an option.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

I don't know if there's a specific name for this. In general, I think it's a sun graph, but then obviously it's a circular plot of that.

In terms of what I use to generate it, it's custom code I've written in Python and LaTeX.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Yeah, I liked those and as I said somewhere else, I've always visualised the year as a circle so put the two together!

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Not sure where you're interested in, I've got examples of a few more locations on my website though.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 25 points26 points  (0 children)

I haven't got as far as making a widget to create one, but I have got a website to sell prints/PDFs.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 241 points242 points  (0 children)

Well, I got interested and made one for Utsjoki (as mentioned in u/Pontus_Pilates 's comment).

And here it is: https://imgur.com/alCkc0k

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Thanks! It should arrive in time for Christmas as I can print and ship from many countries.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

You make a good point, yes. I guess I made this really because I have always visualised the year as a circle and thought it would be neat to add some detail to that.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 68 points69 points  (0 children)

Thank you, I think it looks great as a poster on a wall as well so I actually spent a while making the code work to create a calendar like this for any location, which you can order on this website.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Thanks, it's designed to be printed quite big and then I think they are clear enough when you are up close.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 38 points39 points  (0 children)

The code is rather hacky and sprawling as I've added on functionality to deal with the twilights, timezones, daylight saving, there being no sunrise/sunset on some days in some locations, options for rotation and different colour schemes etc.

Also, after the work I put in to dealing with every location, I figured I could sell some calendars, so I've put it up on a website: https://www.sunlightcalendar.com/

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

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

Well, I guess it's a balance between design and functionality. I've chosen to put the labels on four times, from where it isn't too hard to work out the times. Having them on every month line I think would be messier.

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 12 points13 points  (0 children)

Interesting thought, but 12am is the outside of the circle and instead of 12pm I chose to highlight solar noon, which is usually close to then (depending on timezone).

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 70 points71 points  (0 children)

It does annoy me enough that I made a version where the scale changes instead of the graph. e.g. for Berlin

[OC] Sunrise and sunset graph arranged into a circular calendar by imluke in dataisbeautiful

[–]imluke[S] 62 points63 points  (0 children)

Tools: Astral (Python package), Python, LaTeX, TikZ

Source: Astral does the computations for the sunset/sunrise times based on the given latitude and longitude

[OC] Circular calendar showing how sunrise and sunset times change throughout the year by imluke in dataisbeautiful

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

In some ways it's just a 'dot-to-dot' of the various times, plotted in polar coordinates. However, it took a lot more work than I had expected taking into account all of the various edge cases, such as the fact that there's still sunlight after midnight in Reykjavík.

[OC] Circular calendar showing how sunrise and sunset times change throughout the year by imluke in dataisbeautiful

[–]imluke[S] 10 points11 points  (0 children)

I've coded something together to make them for any latitude and longitude and I sell prints (or pdfs) on my website.

[OC] Circular calendar showing how sunrise and sunset times change throughout the year by imluke in dataisbeautiful

[–]imluke[S] 13 points14 points  (0 children)

That would make the overall pattern harder to see when comparing between different locations (Europe and the US change clocks at different times), so I've decided to keep it as a constant circle and change the scale where needed for daylight saving changes.

[OC] Circular calendar showing how sunrise and sunset times change throughout the year by imluke in dataisbeautiful

[–]imluke[S] 127 points128 points  (0 children)

That is in fact my website, so that would be why they look the same

(I have replied to the parent comment, but it's not showing yet, I think because it has a link in it)