Skip to content

valiton/gatsby-technology-radar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-technology-radar

Library, Gatsby plugin and React component to display a technology radar. Inspired by https://github.com/thoughtworks/build-your-own-radar.

Install

See the README.md in the respective package directory.

How to use

Use @valiton/technology-radar to create the data structure for your radar form a flat json array and @valiton/react-technology-radar to display the radar.

If you are using gatsby.js use the plugin @valiton/gatsby-transformer-technology-radar and a graphql query to get the data to use for the React component @valition/react-technology-radar

export const query = graphql`
  query {
    technologyRadar: allTechnologyRadar(limit: 1, filter: {name: {eq: "Valiton Technology Radar"}}) {
      nodes {
        name
        quadrants {
          name
          order
          startAngle
          rings {
            maxRadius
            minRadius
            name
            order
            items {
              coordinates
              width
              number
              name
              description
              isNew
            }
          }
        }
        layout {
          size
        }
      }
    }
  }
`;

Live demo

https://www.valiton.com/technology-radar

License

MIT

Development

Install dependencies

npm install

Build

npm run build

Run example site

npm run develop --workspace packages/example-site

Publish new version

npx lerna publish --no-verify-access --force-publish