Code Monkey home page Code Monkey logo

eue's Introduction

Welcome to EUE, run using npm run dev. Export using npm run exportbuild or npm run exportrun.

What is this?

This project is trying to show the connections between the composition of European institutions and institutions on a member state/state/regional level. You can find the data in /src/data, which uses TypeScript (.ts) files. This has been done so we can use language features (such as getting a party color for a group) and manipulate our data easier.

Setup

Download NUTS data

Run npm run prebuild to download some NUTS data for the maps.

eue's People

Contributors

tobi406 avatar

Watchers

 avatar

eue's Issues

Add elections

Territorial authorities - by future extension maybe parties aswell - or to be more exact their bodies (eg. Parliament) should have the possibility to view elections.
This shall include the abillity to

  • view compositions of bodies at different times
  • compare bodies (graphs, maybe pie diagrams if possible)
  • (if available) view/compare election results in "constitutencies"

Add spinner to Map placeholder

Add a spinner to the loading animation of the map placeholder. Though only visible for a short time, it'd improve the design a little bit

Add party list

There should be a page to view all European Parties and a page for each individual European Party.

The page of each European Party should include

  • a map and statistic (maybe a table) representing their share in national parliaments by color.
  • a map (not sure wheter a statistic here comes in helpful) in which member states they are in government (add an option for minority governments aswell)
  • maybe similar things for comparable sub divisions, besides NUTS. Such as Austrian states (NUTS 2) and German states (NUTS 1).

Head of State text (hosText) is synced

The Head of State text (hosText) is synced across pages. This can be seen when navigating from AT to DE using the sidebar, where the hosText stays the same, though DE is not assigned one.

Pagination component

There should exist a general pagination component (maybe with options to filter) to sort long list like elements. Such as - currently one of the only use cases - parties.

Map placeholder same size as map

The map placeholder should be the same size as the map to reduce big layout changes.
The placeholder should be on the server side and with a button to load the map. This should at best reduce the initial load.
Maybe the button choice could be saved in localStorage or as a cookie.

Current state:

  • Button on map
  • Button choice saved in localStorage or as a cookie

Add mermaid to MDX

Add the option to use Mermaid in MDX.
Try prerendering the MDX to svg/html, maybe?

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.