Git Product home page Git Product logo

narrowthegap's Introduction

Narrow the Gap

A single-serving web site displays the wage gap between men and women in the United States on a per-occupation basis. Statements based on data provided by the U.S. Bureau of Labor Statistics. See it in action at https://narrowthegap.co.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
It uses react-snapshot to statically pre-render all the site's pages.

Note: Currently the build command completes with and error "πŸ”₯ RangeError: Maximum call stack size exceeded." Fixes welcome! See Issue #79.

Data

See the data directory for more info.

narrowthegap's People

Contributors

anildash avatar capndesign avatar cdmoyer avatar cwarden avatar dependabot[bot] avatar ginatrapani avatar maco avatar ronbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

narrowthegap's Issues

feat: add copy about occupations without a pay gap

As well as occupations without enough data to derive one.

Update: instead of adding one-page gaps for these occupations, just add copy about the total occupations without enough data to measure, and total where women make more than men (3 or 4 in 2017)

fix: too many uls

Right now AllOccupations includes a ul for every li. The current code is hard to reason about, because the GapAPI data structure doesn't lend itself to hierarchical rendering.

To do: add a function to GapAPI which creates a nested data structure that will make ul/li rendering easier and more obvious.

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.