Git Product home page Git Product logo

felipeplets / tech-radar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thenano/tech-radar

0.0 2.0 0.0 341 KB

A library that creates an interactive radar. The example shows a dynamically generated radar from data on a public google sheet:

Home Page: https://thenano.github.io/tech-radar/?sheetId=1--_uLSNfiD19i8rAcF_f3qlgZGk2lzSS3bbSrypcx4Y

License: MIT License

JavaScript 86.82% CSS 13.18%

tech-radar's Introduction

A library that generates an interactive radar, inspired by thoughtworks.com/radar/.

This example uses a google sheet with ThoughtWorks' November 2015 radar information as the source of data, and can also generate any radar from any sheet (given that it conforms to the below format) by accessing the root of the example and providing your own public google sheet id.

How To Use

The easiest way to use the app out of the box is to provide a public google sheet id from which all the data will be fetched. You can enter that id into the input field on the first page of the application, and your radar will be generated. The data must conform to the format below for the radar to be generated correctly.

Setting up your data

You need to make your data public in a form we can digest.

Create a Google Sheet. Give it at least the below column headers, and put in the content that you want

Name 			cycle	quadrant				isNew	description
Composer		adopt	tools					TRUE	Although the idea of dependency management ...
Canary builds	trial	techniques				FALSE	Many projects have external code dependencies ...
Apache Kylin	assess	platforms				TRUE	Apache Kylin is an open source analytics solution ...
JSF				hold	languages & frameworks	FALSE	We continue to see teams run into trouble using JSF ...

In Google Docs, go up to the File menu and pick Publish to the web. Fiddle with whatever you want, then click Start publishing. A URL will appear, something like https://docs.google.com/spreadsheets/d/1--_uLSNfiD19i8rAcF_f3qlgZGk2lzSS3bbSrypcx4Y/pubhtml

Copy that! In theory you're interested only in the part between /d/ and /pubhtml but you can use the whole url if you want.

Paste the url in the input field here.

That's it!

Note: the quadrants of the radar, and the order of the rings inside the radar (also referred to as cycles) will be drawn in the order they appear in you google sheet.

More complex usage

Dependencies and code are all packaged together and minified in the tech-radar.min.js file.

To create the data representation, you can use the google sheet data factory, or you can also insert all your data straight into the code.

The app uses Tabletop to fetch the data from a google sheet, so refer to their documentation for more advanced google sheet interaction.

If you want to understand how it's wired and make it your own, check the file examples/index.html for general usage.

Contribute

All tasks are defined in the package.json Pull Requests are welcome, write tests whenever possible (I actually haven't yet, so tests are broken - I accept pull request with fixes too!).

  • git clone [email protected]:thenano/tech-radar
  • npm install
  • npm test - to run your tests
  • npm run build - to build out your changes
  • npm run examples - to generate the examples
  • npm run test:dist - make sure uglify doesn't break stuff

tech-radar's People

Contributors

andyw8 avatar br00k avatar joshmock avatar thenano avatar trecenti 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.