Popular Baby Names

This is an interactive website showcasing popular baby names from 1880 to 2014 built using Node.js, Angular.js, jQuery, Express, and Vagrant with data represented using SVG based graphics.

The project is available to download on github:

In order to import baby name data, we need to import the NationalNames.csv into mongodb.

To do so:

Download the repository by either downloading the zip from github or using the command:

git pull https://github.com/chenchik/popularBabiesNames.git master

open up vagrant using the command:

vagrant ssh

find the directory you put this repository in

make sure you have a database in mongodb called ‘test’

open mongodb by running the command:


in vagrant, and make sure you have a database called ‘test’

then type the command:

use test

then type:


exit mongo by using ctrl>C

then in order to import NationalNames.csv into mongodb type this into vagrant command line:

mongoimport -d test -c names --type csv --file NationalNames.csv --headerline

Now your database should contain everything you need.


Backend node functionality, mongodb queries, and routes are stored in server.js

to launch the website type:

node server.js

into vagrant in the ‘babynames’ directory.

Then type localhost:8080 into your browser url.

________________FRONT END_______

All front end materials are stored in the ‘/public’ directory.