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

@msrajawat298/do-graphs

v2.1.0

Published

A powerful, low-code React package for creating and managing dynamic dashboards and charts.

Readme

DO-Graphs 📊

NPM Version License: MIT

DO-Graphs is a powerful, low-code React package designed to help developers create, manage, and deploy dynamic dashboards and graphs with ease. Stop hardcoding charts—start designing them.

Dashboard Preview


🚀 Why Choose DO-Graphs?

Managing dashboards in large React applications often leads to massive, unmaintainable components. DO-Graphs solves this by providing a drag-and-drop interface and a dynamic configuration system.

  • Dynamic by Design: Change chart types, colors, and data sources in real-time without touching the code.
  • Low-Code Customization: Use our built-in UI to design pages, then render them instantly in your app.
  • Rich Visualization: Supports Bar, Line, Pie, Doughnut, Mixed, Polar Area, Scatter, and more.
  • Seamless Integration: Built on top of Chart.js and React-Grid-Layout for performance and reliability.

✨ Key Features

1. Dynamic Chart Type Switching

Switch between visualization modes (e.g., Bar to Line) instantly. The package automatically sanitizes configurations to ensure your dashboard never crashes.

Change Chart Type

2. Multi-Filter Support

Apply complex filters to your data directly from the UI. Support for multiple filter rows ensures your users can drill down into the data they need.

Multiple Filters

3. Smart India State Mapping

Built-in intelligence to handle Indian state data. Automatically map state abbreviations and full names to ensure consistent reporting across regions.

India State Support

4. Interactive Sidebar & Menu

Easily organize your chart pages with a dynamically generated sidebar that adapts to your backend configuration.

Sidebar


🛠 Installation

npm install @msrajawat298/do-graphs

📖 Quick Start Guidance

1. Configure your Dashboard

Use the CustomDashboard component to provide a management interface for your dynamic pages.

import { CustomDashboard } from '@msrajawat298/do-graphs';

const MyDashboardManager = () => (
  <CustomDashboard 
    routeBackendUrl="https://api.yourdomain.com/layouts" 
    isMenuLayoutPresent={true} 
    headers={{ Authorization: 'Bearer ...' }} 
  />
);

2. Render Dynamic Pages

Use the Layouts component to display the charts in your application routes.

import { Layouts } from '@msrajawat298/do-graphs';

// In your Router
<Route 
  path="/my-dynamic-page" 
  element={<Layouts title={pageData.title} html={pageData.element} menuId={pageData.menu_id} />} 
/>

📊 Supported Chart Types

Type of Charts

| Chart Type | Best For | Features | | :--- | :--- | :--- | | Bar / Horizontal Bar | Comparisons | Stacking, Multi-dataset | | Line / Mixed | Trends Over Time | Smooth curves, combined Bar/Line | | Pie / Doughnut | Proportions | Datalabels, Hover effects | | Polar Area | Cyclical Data | Area scaling | | Scatter | Correlation | X/Y Coordinate mapping | | Progress / Table | KPI Metrics | Custom thresholds, Tabular data |


🛡 Performance Optimization

This package implements a "Preview-on-Change, Save-on-Click" pattern. This ensures that even with large datasets and complex dashboards, the UI remains fluid and responsive during the configuration phase.


📄 License

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ by Mayank Singh Kushwah