Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 1.52 KB

README.md

File metadata and controls

83 lines (63 loc) · 1.52 KB

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