New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

flowvis

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowvis

[![npm version](https://img.shields.io/npm/v/flowvis)](https://www.npmjs.com/package/flowvis) [![npm downloads](https://img.shields.io/npm/dw/flowvis)](https://www.npmjs.com/package/flowvis) [![bundlephobia](https://img.shields.io/bundlephobia/minzip/fl

latest
npmnpm
Version
1.0.35
Version published
Maintainers
1
Created
Source

flowvis

npm version npm downloads bundlephobia GitHub stars license

flowvis is a lightweight React.js library for rendering interactive, responsive, and animated D3.js charts.
Demo It is designed to simplify chart creation in modern React apps while retaining the full power of D3 under the hood.

✨ Features

  • Easy-to-use React components for common chart types
  • Smooth animated transitions
  • Small bundle size
  • Full typescript
  • Responsive charts that auto-fit their containers
  • Simple styling with the included CSS
  • Powered by D3.js + React

📦 Installation

npm install flowvis@latest

To use a bar chart component import these:

import { BarChart } from 'flowvis';
import 'flowvis/dist/flowvis.css';

Render the chart inside a container with explicit width and height:

<div className="w-full h-60 md:h-96">
  <BarChart data={[]} />
</div>

Example: sortable stacked bar chart

import { StackedBarChart } from "flowvis"; 
import 'flowvis/dist/flowvis.css';

export default function StackedBarChartExample() {  
  export const stackData2 = [
    {
      label: "Initech",
      alpha: 14900,
      beta: 8800,
      delta: 9600,
      epsilon: 5400,
      theta: 6100,
    },
    {
      label: "Umbrella",
      alpha: 6800,
      beta: 7400,
      delta: 17100,
      epsilon: 9300,
      theta: 5200,
    },
    {
      label: "Hooli",
      alpha: 6900,
      beta: 10400,
      delta: 7400,
      epsilon: 16200,
      theta: 5700,
    },  
    {
      label: "Aperture Labs",
      alpha: 8200,
      beta: 9100,
      delta: 14300,
      epsilon: 7600,
      theta: 4600,
    },  
    {
      label: "Cyberdyne Systems",
      alpha: 18800,
      beta: 9700,
      delta: 6900,
      epsilon: 8300,
      theta: 6200,
    },
    {
      label: "Massive Dynamic",
      alpha: 9600,
      beta: 7800,
      delta: 4900,
      epsilon: 7200,
      theta: 15500,
    },
  ];

  return (
    <div className="w-full h-60 md:h-96">
      <StackedBarChart data={stackData2} />
    </div>
  );
}

Demo

For full explanations on the options and properties, with live demo:

Visit the flowvis documentation.

Or you can grab the source code at:

the github repo

Keywords

react

FAQs

Package last updated on 12 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts