Giter Site home page Giter Site logo

birthnameviz's Introduction

BirthNameViz

NodeJS with Webpack ESLint Check

This is the repository to our project of IGR204. The goal is to create interactable visualizations around the names of french babies between 1900 and 2019.

An online deployment of the application is available here: https://barthpaleologue.github.io/BirthNameViz/dist/

Interactive map

Gender effect on names

Team

Made with contrib.rocks.

Build with NodeJS

Once you have cloned the repository, you can install the dependencies with npm install.

To build the project, you can use npm run build. This will create a dist folder with the compiled files.

Run with NodeJS

To run the project, you can use npm run serve:prod. This will start a local server on port 8080.

The development server can be started with npm run serve. This will start a local server on port 8080 with hot reload.

Links for json maps

https://github.com/gregoiredavid/france-geojson

Maps are to be simplified with https://mapshaper.org/Visvalingam2014/ and not the original mapshaper

Strength and Weaknesses of our Visualizations

Par Mickaël Adriao, Manon Heffernan, Adrien Coutelle, Daniel Zhou et Barthélemy Paléologue

A - The slider allows to define a single date or a range of dates for the visualization, the slider mode being decided by a switch. The upside is that it gives the user more control on what they want to see : the distribution for a given year or on a bigger period. Another option would be to have two separate inputs, instead of a mutualised slider : the user would have chosen between time or range and then specified the value. We think the mutualised slider is better in terms of redundancy and can be easily controlled.

B - The map of France will allow the user to see any regional effects on the data. Such effects can be set whether at the regional scale, or the departmental scale. A filter can be applied to the map to separate either in departments or regions. Visualization 1 & 2: the evolution over time can be seen thanks to the slider that changes the content of the map. The map allows the user to see the spatial distribution of names. If no specific name has been specified, then the map shows on each department the most popular name. If the user clicks on the department or region, then it is scaled up and inside it is shown a word cloud with the most popular names. If a name is specified, then a heatmap is used on the map to encode popularity.

C - For visualization 1 : this bar graph shows the most popular names for the selected period. The bar is separated in two colours to represent the percentage of girls and boys having said name. For visualization 3: select one of the genders, or none. This will filter the data on all visualizations.

D - The diagram with horizontal bars shows which names are the most popular with their respective percentage given the time frame chosen from the slider A Viz 1: allows the user to visualize which names are popular given the time frame, or more generally given the possibility to change the frame at will Viz 3: Sheds light on the gender distribution as well, given a different encoding for male and female (color for instance)

E - Useful for the 3 simulations : Filter the data by selecting a name, or several names. The limitation might be when we select a hundred names: not very readable.

F - Visualization 1: This graph shows the evolution of the popularity of selected names across time. Visualization 3: If the gender view is selected, we will show the percentage of men vs female for the selected names. The main downside is when comparing very popular and very unpopular names : the scale will make it very hard to see the variation of the most unpopular.

G - Visualization 1: This graph shows the most popular and most unpopular names for short periods of time. It allows to see trends for the most extreme cases. The drawback is the fixed bins that may not allow the user to browse in the exact time range he wants.

birthnameviz's People

Contributors

barthpaleologue avatar hydroxypropyl avatar adrienctl avatar monsieurmajy avatar p1kazhou avatar

Stargazers

Bankn8II©$A avatar

Watchers

 avatar

Forkers

barionleg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.