Skip to content
A web app to visualise the most common birthdays for a country (or any other entity you have the data for)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
bdays.js
data.csv
data.json
index.html
script.js
style.css

README.md

Most common birthdays

A web app to visualise the most common birthdays for a country (or any other entity you have the data for).

You get

  • A tiny web app that lets users enter their birthday and see how many others in the country they share it with.
  • A calendar visualisation showing at what times of the year more birthdays than average occur and at what times less.

How to

Out of the box, it's in German and using data for Switzerland. To make it work for you, do the following:

  • Get the data you want to visualise and format in a) JSON and b) a simple array
  • Replace the default data array in bdays.js with yours and replace data.json with your file.
  • Translate the bits you want in your language
  • Add a caveat to your data to the .caveat paragraph if needed.
  • Link to your data source in #footnote, please leave the credit.

Beware!

I'm a journalist, not a programmer, so don't expect perfect code (well, don't even expect decent code, but rather code that somehow works). If you can help improve the code, please do. This is my first D3 project, so I'm eager to learn.

Existing visualisations

Screenshot

Something went wrong with that request. Please try again.