Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

correctiv/viz-minijobs-districts-gender

Repository files navigation

viz-minijobs-districts-gender

Display data about minijobs distribution across german districts and compare data between genders.

Preview via gh-pages

Based on wbkd/yet-another-webpack-es6-starterkit

Uses d3 and riotjs

base visualization setup for correctiv cms

javascript

dist/bundle.js

styles

dist/styles/bundle.css

for use in correctiv cms plugins:

piktogram

<figure class="figure -paragraph-width">
  <div class="figure__container">
    <div data-riot-mount="cor-mj-gender-intro"></div>
    <figcaption class="figure__caption">
      <div class="figure__title">
        Frauen und Männer zwischen 25 und 65 Jahren, die einen Minijob als einzigen Job
        machen, verglichen mit allen Minijobbern.
      </div>
      <div class="figure__credits">
        <a href="https://correctiv.org/a/1861">Daten</a>, Stand: 30.06.2016
      </div>
    </figcaption>
  </div>
</figure>

duration data bars

<figure class="figure -paragraph-width">
  <div class="figure__container">
    <div data-riot-mount="cor-mj-gender-durations"></div>
    <div class="figure__credits">
      Daten: <a href="">Statistik der Minijob-Zentrale: Laufende geringfügige Beschäftigungsverhältnisse nach der Beschäftigungsdauer (bundesweit)</a>,<br>
    eigene Berechnungen, Stand: 29.09.2016
    </div>
  </div>
</figure>

double german districts map

<figure class="figure -full-width">
  <h2>Frauen und Männer in Deutschland, die einen Minijob als einzigen Job machen</h2>
  <div class="figure__container">
    <div data-riot-mount="cor-mj-gender-map"></div>
  </div>
  <div class="figure__credits">
    Daten: <a href="">Statistik der Bundesagentur für Arbeit: Geringfügig Beschäftigte nach Geschlecht und Altersgruppen</a>,<br>
    regionale Abgrenzung nach dem Arbeitsort, eigene Berechnungen, Stand: 30.06.2016
  </div>
</figure>

Development

Installation

npm install

Start Dev Server

npm run dev

Build Prod Version

npm run build

Features:

When you run npm run build we use the extract-text-webpack-plugin to move the css to a separate file and included in the head of your index.html, so that the styles are applied before any javascript gets loaded. We disabled this function for the dev version, because the loader doesn't support hot module replacement.

Releases

No releases published

Packages

No packages published