MichelleEmbleton / appSecRadar

A colour-coded radar chart to keep track of technologies in use, whether they are being evaluated, adopted or phased out.
Apache License 2.0
14 stars 2 forks source link
javascript svg

AppSec Technology Radar

The AppSec Technology Radar is a set of technologies and best practices inspired by ThoughtWorks's Technology radar. The objective is to provide developers with new trends in security technologies, design patterns, and tools.

Built with SVG and JavaScript.

Examples

AppSecRadar AppSecRadar

There's a working example at: http://appsecradar.michelleembleton.co.uk/

Set Up

The file structure:

directory - ie. AppSecRadar/
    dist/ ---  data.json
    src/ ----  index.html
               css/ --- the 7 css files
               js/ ---  the 8 js files 
                        elements/ ---  the 11 js files in elements
    .babelrc
    package.json
    webpack.config.js

Assuming you have npm and node already installed on your machine:
In the console - cd to the directory that contains your appSecRadar and type:

npm install

to get the dependencies from package.json

to run in dev mode:

npm start

This will open a page in your Google Chrome browser by default: localhost:8080
If you want it to auto open in a different browser - you can change this in package.json:

"start": "webpack-dev-server --mode development --open 'google chrome'"

Use the data.json file in dist/ to play around with the example data and to use as a template for your own data.
The 7 fields should all be present, but can be empty.

To run in production mode:

npm run build

index.html, style.css and main.js should automagically appear in /dist with the links added to index.html
then the dist can be used on it's own.

Configure

Browser Compatibility

2nd June 2019
Tested latest changes in: 
FireFox - new transitions on radar not working
Safari - new transitions on radar not working
Chrome - all tranitions good
Opera - all transitions good
IE 11 - not tested in IE yet