Git Product home page Git Product logo

ich-bin-cloud-berliner's Introduction

screenshot of app

View demo version

This project was bootstrapped with Create React App.

Tag cloud app which takes a json file, and other parameters to show a word cloud which is interactive, showing more metadata when words are selected.

The Tag Cloud takes parameters as props

  • title: A string
  • data: JSON object - see src/json/topics.json for format.
  • sortType: A string, either 'pyramid' or 'shuffle'. Defaults to 'shuffle'.
  • customSort: A function taking a one dimensional array.
  • detailsAreas: JSON object with labels and string representing how to access values from data object
  • legendDetails: JSON object representing a lengend of the tags colour coding.

Requirements

  • Node - 9.3.0 tested; you may find other versions work
  • NPM - 5.5.1 tested; you may find other versions work
  • or alternatively Yarn.

Installation

  1. Clone this repository
  2. run npm install (if you get errors on Windows you may need to try npm install --force)

Scripts

npm run build

This will build the app for production into the build folder.

On a succesfull build you will find instruction on how to serve locally

npm 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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Supported Browsers

Built app is targeted using Browserslist to allow Babel and PostCSS to attempt to build correctly for

> 1%
last 4 versions
Chrome > 62
Safari > 11
Edge > 40
Firefox > 57
IE 11

Note that for IE11 support some Polyfills and specific css rules have been used. These are all commented in the code because it might not be obvious why they are there.

Known Issues

A workaround for iOS devices implementation of viewport units, in particlar VH needs to be considered and implemented. Perhaps something like the 'vh-check' module which was tried but was buggy.

Contributions

Currently this app is lacking good test coverage because I don't have much experience with these and this project also had a tight intital turnaround time, please feel free to lend a hand.

ich-bin-cloud-berliner's People

Contributors

mattybalaam avatar

Watchers

 avatar  avatar

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.