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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@fluentui/react-charting

v5.21.1

Published

React web charting controls for Microsoft fluentui system.

Downloads

13,073

Readme

@fluentui/react-charting

npm version Build Status

Overview

Fluent UI React (formerly Office UI Fabric React) charts is a set of modern, accessible, interactive and highly customizable visualization library representing the Microsoft design system.

The charting library is built using D3 (Data Driven Documents) and other fluent UI controls.

These charts are used across different products in Microsoft. They are ready to be used in a production environment.

This library is also supported for fluent UI v7.

Using the library

Examples and code snippets for the charting library are available on the demo site. The code snippets can be used as usage guide for all the props and chart variations. Click on 'Show code' on the demo site to access demo for each variant.

The library is published as a npm package to public npm feed. To install the package

npm install @fluentui/react-charting

To import charting components:

import { ComponentName } from '@fluentui/react-charting/lib/ComponentName';

Contact

The charting project is actively funded by a small feature team. The team responds within 1-2 business days for any queries or doubts. You can reach out to the charting team by tagging @microsoft/charting-team in discussion items.

You could also create issues under the charting tag.

Resources

Several resources are available to know more details about the charting project.

Published roadmap here

Detailed wiki (Internal to Microsoft Employees currently)

Join our discord server for realtime conversation and schedule to our regular office hours.

Official codepen account - Coming soon

Figma design guidance - Coming soon

Contributing

contributions welcome

Refer the main fluentui wiki for detailed instructions on setup and contributing to the package.

A comprehensive contributor guide is available in our internal wiki. Available to share publically on request.

Testing

Test Coverage Badge

The library has a wide variety of tests to ensure quality of the library. The tests range from component tests, unit tests, visual regression tests, accessibility tests, integration tests and manual tests. The test automations aim to ensure over 90% code coverage across the library.

Further details available in the wiki

Run yarn test from within the package to run all the tests.

Accessibility

Our charts have elaborate accessibility support. The charts are WCAG 2.1 MAS C compliant for accessibility.

More details are covered in the wiki.

Performance

Performance is a key success criteria for the charting library. Performance is measured and has been improved for the following scenarios.

More details are covered in the wiki.

Versioning and changelog

We use SemVer for versioning. For the versions available, see the tags on this repository.

Refer to the changelog for details about changes made in each version.

Coding Guidelines

Refer fluent Coding guidelines

Technical details

Refer this document for details on color palette, theming, types of axis supported and more.