qmetrics.net

React Chartjs 2

React components wrapping Chart.js charts

React Chartjs 2 screenshot

react-chartjs-2 provides React components for Chart.js chart types. Install it alongside chart.js and register only the chart elements you need.

Overview

react-chartjs-2 bridges Chart.js and React applications by exporting chart components that accept Chart.js configuration objects. It supports current Chart.js major releases, with migration notes between versions available in project documentation.

Typical usage installs chart.js as a peer dependency, registers required elements such as scales, arcs, or legends on the Chart.js registry, then renders components like Doughnut or Line inside React trees. Tree-shaking guidance explains importing granular modules from chart.js to limit bundle size.

Documentation covers dataset handling, event callbacks, FAQ topics, and live examples. Consumers are directed to Stack Overflow for usage questions and GitHub issues for defects. The package is distributed on npm under an MIT license.

Key features

  • React chart components
  • Chart.js v3 and v4 compatibility
  • Tree-shakeable Chart.js imports
  • Per-chart element registration
  • Documented dataset and events
  • Published npm package
  • Live example gallery
  • Migration guides between versions

Use cases

  • Embedding charts in React UIs
  • Dashboard data visualization
  • Interactive chart event handling
  • Migrating Chart.js apps to React

Tags

Similar software

Manim

Programmatic animation engine for explanatory math videos

ManimGL drives precise programmatic animations for explanatory math videos. The 3Blue1Brown variant installs via the manimgl package

★ 97k⟳ 2 months agoMIT
Frameworks & PlatformsDesktop/CLI app

ImGui

Minimal immediate-mode C++ graphical user interface library

Dear ImGui is a portable C++ GUI library that emits draw batches for your renderer. It targets debug tools, editors, and in-engine tooling rather than consumer-facing apps.

★ 77.3k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

Anime.js

JavaScript library for web animations

Anime.js animates CSS properties, SVG, DOM attributes, and JavaScript objects through a modular ES module API for browsers and npm installs.

★ 75.1k⟳ 3 months agoMIT
Frameworks & PlatformsDesktop/CLI app

AdminLTE

Bootstrap 5 responsive admin dashboard UI template

AdminLTE is a responsive admin dashboard template on Bootstrap 5 with vanilla JavaScript, reusable components, and demo pages for back-office UIs.

★ 45.7k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

Chakra UI

Accessible modular React component system for web apps

Chakra UI is a React component system for building web applications and design systems. Components emphasize accessibility and work with modern React frameworks including Next.js.

★ 40.8k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

xyflow

Node-based UI libraries for React, Svelte, and Vue

xyflow maintains React Flow, Svelte Flow, and Vue Flow—libraries for building customizable node-based editors and interactive diagrams in those frameworks.

★ 39.2k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app