npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-levels-chart

v1.0.2

Published

[![NPM version](https://img.shields.io/npm/v/react-levels-chart.svg)](https://www.npmjs.com/package/react-levels-chart) [![Downloads](https://img.shields.io/npm/dm/react-levels-chart.svg)](https://www.npmjs.com/package/react-levels-chart) [![License](http

Readme

NPM version Downloads License Tests CodeQL codecov Bugs

React Levels Chart

A React component for visualizing engineering career progression using radar charts. This tool helps engineering managers facilitate meaningful discussions about career development and expectations across different engineering levels. You can see the chart in use on the Radarz site.

The idea for these charts comes from the engineering ladders framework.

Features

  • 📊 Interactive radar chart visualization of engineering levels
  • 🎯 Five key dimensions: Technology, System, People, Process, and Influence
  • 📏 Customizable progression levels with built-in defaults
  • 🎨 Flexible styling system
  • 💾 Local storage sync for persistence
  • ♿ Accessible form controls
  • 📱 Responsive design with scrollable controls option

Installation

npm install react-levels-chart
# or
yarn add react-levels-chart

Quick Start

import { Radar } from 'react-levels-chart';

const MyComponent = () => {
  return (
    <Radar 
      username="engineer.name"
      levels={{
        Technology: 'Specializes',
        System: 'Owns',
        People: 'Mentors',
        Process: 'Challenges',
        Influence: 'Multiple Teams'
      }}
    />
  );
};

API Reference

Radar Props

interface RadarProps {
  username: string;
  levels?: SelectedLevels;
}

type Category = 'Technology' | 'System' | 'People' | 'Process' | 'Influence';

type SelectedLevels = {
  [key in Category]: string;
}

| Prop | Type | Required | Description | |------|------|----------|-------------| | username | string | Yes | Unique identifier for local storage sync | | levels | SelectedLevels | No | Initial levels for each category |

Default Levels

The component comes with predefined progression levels for each category:

const levelMap = {
  Technology: ['Adopts', 'Specializes', 'Evangelizes', 'Masters', 'Creates'],
  System: ['Enhances', 'Designs', 'Owns', 'Evolves', 'Leads'],
  People: ['Learns', 'Supports', 'Mentors', 'Coordinates', 'Manages'],
  Process: ['Follows', 'Enforces', 'Challenges', 'Adjusts', 'Defines'],
  Influence: ['Subsystem', 'Team', 'Multiple Teams', 'Company', 'Community']
}

Styling

The component supports comprehensive style customization through the Controls component:

interface StyleConfig {
  form?: React.CSSProperties;
  fieldset?: React.CSSProperties;
  controlsContainer?: React.CSSProperties;
  controlWrapper?: React.CSSProperties;
  label?: React.CSSProperties;
  selectWrapper?: React.CSSProperties;
  select?: React.CSSProperties;
  customDropdownArrow?: {
    url: string;
    width?: number;
    height?: number;
    position?: {
      right?: number | string;
      top?: number | string;
    };
  };
}

Example Style Customization

const customStyles: StyleConfig = {
  controlsContainer: {
    gap: '24px',
    marginTop: '32px'
  },
  select: {
    borderColor: '#0066cc',
    borderRadius: '8px',
    padding: '12px'
  },
  customDropdownArrow: {
    url: '/custom-arrow.svg',
    width: 12,
    height: 8
  }
};

<Controls
  categories={categories}
  selectedLevels={selectedLevels}
  handleLevelChange={handleLevelChange}
  levelMap={levelMap}
  styles={customStyles}
  scrollable={true}
/>

Development

Setup

# Install dependencies
npm install

# Start development server
npm start

# Build the package
npm run build

# Run tests
npm test

# Generate coverage report
npm run coverage

Testing

The project uses Vitest for testing. Tests can be run with:

npm test

For coverage reports:

npm run coverage

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments