File:U.S. Births by Time of Day.svg
Original file (SVG file, nominally 611 × 454 pixels, file size: 62 KB)
Captions
Summary edit
DescriptionU.S. Births by Time of Day.svg |
English: A graph showing births in the U.S. per hour. This data is from the U.S. CDC for the year 2013.
When Are Babies Born: Morning, Noon, or Night? Birth Certificate Data for 2013. NCHS Data Brief No. 200, May 2015. T.J. Mathews, M.S.; and Sally C. Curtin, M.A. Key findings Data from the National Vital Statistics System
|
Date | |
Source | Own work |
Author | Douglas Perkins |
Code edit
#!/usr/bin/env python from matplotlib import pyplot from matplotlib import ticker from matplotlib import numpy # This generates a bar graph showing births by time of day. # Data is from the U.S. CDC for the year 2013. # For simplicity, I have rounded it here. # # http://www.cdc.gov/nchs/data/databriefs/db200.htm # # This file was written by Douglas Perkins. data = [ ("6 a.m.", 2.9), ("7 a.m.", 4.5), ("8 a.m.", 6.3), ("9 a.m.", 5.0), ("10 a.m.", 5.0), ("11 a.m.", 5.0), ("noon", 6.0), ("1 p.m.", 5.7), ("2 p.m.", 5.1), ("3 p.m.", 4.9), ("4 p.m.", 4.9), ("5 p.m.", 5.0), ("6 p.m.", 4.5), ("7 p.m.", 4.0), ("8 p.m.", 4.0), ("9 p.m.", 3.7), ("10 p.m.", 3.5), ("11 p.m.", 3.3), ("midnight", 2.9), ("1 a.m.", 2.9), ("2 a.m.", 2.8), ("3 a.m.", 2.7), ("4 a.m.", 2.7), ("5 a.m.", 2.8), ] times = [d[0] for d in data] births = [d[1] for d in data] # Make a graph. x = numpy.arange(len(times)) + 0.25 width = 0.5 pyplot.figure(num=1, figsize=(8,4.5)) pyplot.bar(x, births, width, color='orange') pyplot.title('2013 U.S.A. Birth Times') pyplot.ylabel('Percent of Births') pyplot.xlabel('Time of Day') xticks = pyplot.xticks(x + width/2.0, times, rotation='vertical') pyplot.subplot(111).grid(b=True, axis='y') pyplot.subplot(111).set_xlim([0, 24]) pyplot.savefig('Chapter 6.Birth Times.svg', format='svg', bbox_inches='tight')
Licensing edit
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 03:42, 10 June 2016 | 611 × 454 (62 KB) | Douglaspperkins (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 489pt |
---|---|
Height | 363pt |