Giter Club home page Giter Club logo

skill-radar's Introduction

I love data visualisation, and I've started to explore how to do it in React. For this job profile dashboard, I'm using the awesome react-vis library.

The data comes from the Open Skills API.

Under the hood

The input populates asynchronously. I started out with react-select, but switched to Ant design (Antd) as its select component is better at handling long lists.

Antd came in useful for the rest of the UI as well. I rewired CRA to override Antd's default theme via craco-antd.

There's an open issue with Antd importing the entire icon pack), which will probably be fixed soon. I'm grabbing the icons manually for now, as suggested here.

I added a custom loader to the input and the graphs. It receives the colors for @keyframes as locally scoped CSS variables via props.

Issues

Styles

I wanted the illustration to dim along with the text when data is loading, but to stay in place when tabs change. As antd tab animation relies on margins, I had to render the illustration via a React portal to keep it from moving and constrain it to the content area.

Data

Ideally, jobs should be compared across the same subset of skills, e.g. top 10 skills across all jobs. Looks like there is no way to get a list of top skills by overall frequency (except for crunching the dataset myself). Currently the profile graph shows top 15 skills by importance for each particular job. However, as top skills differ across jobs, the y-axis ticks change almost every time the job is updated. The smooth bar chart transition essentially makes no sense when dimensions change. I really don't like it, but I'm not up to data analysis for now:)

Related jobs have the same skill profile, but I show profiles for them anyway (it would be nice to have more granular data).

In progress

Todo:

  • memoization & pure components
  • intersection observer for related jobs animation + collapsible groups by field
  • routing by occupation
  • move compare button out of controls into compare tab
  • investigate rerendering in Parallel Chart label series
  • turn parallel chart into radar chart

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.