How Many Kids We Have and When We Have Them
A few years ago, it seemed like everyone I knew was having babies or trying to have babies. There were baby showers, baby gifts, baby visits, and of course the social feeds were filled with baby pictures. My wife and I also had a couple of kids.
But now that I’m older, it feels more like a trickle. Many parents stop at two kids. Most are done by three. Still, everyone has their own timelines.
The chart above shows 1,000 timelines, based on data from the National Survey of Family Growth. Each moving dot is a mother. Age is on the horizontal, and with each live birth, the dot moves down a notch. The green bubbles represent the total counts for a given age.
You see the distribution for the first child clump up around mothers’ twenties, and the distributions shift older for additional kids.
There’s so much variation though in when people have kids and how many. I mean, 12 kids? Whoa. To each her own.
- I pulled the data from the 2015-2017 release of the National Survey of Family Growth, which is run by the Centers for Disease Control and Prevention. It’s been running on and off since 1973. For the interactive, I took a weighted sample of 1,000 cases.
- I analyzed and prepared the data in R.
- I made the chart using D3.js.
Learn to Visualize Data See All →
How to Use Packed Circles in R
Adjust coordinates, geometries, and encodings with packed circles to make various types of charts.
Build Interactive Area Charts with Filters
When you have several time series over many categories, it can be useful to show them separately rather than put it all in one graph. This is one way to do it interactively with categorical filters.
How to Make Baseline Charts in R
By shifting the baseline to a reference point, you can focus a line chart on relative change, which can improve the visibility of smaller categories.
How to Spot Visualization Lies
Many charts don’t tell the truth. This is a simple guide to spotting them.
What Qualifies as Middle-Income in Each State
The meaning of “middle-income” changes a lot depending on where you live and your household size.
How the American Work Day Changed in 15 Years
The American Time Use Survey recently released results for 2018. That makes 15 years of data. What’s different? What’s the same?