An open API service indexing awesome lists of open source software.

https://github.com/sebinsua/component-horizontal-stacked-bar

A horizontal stacked bar component created with React and d3
https://github.com/sebinsua/component-horizontal-stacked-bar

component d3 horizontal react stacked-bar

Last synced: 3 months ago
JSON representation

A horizontal stacked bar component created with React and d3

Awesome Lists containing this project

README

          

# component-horizontal-stacked-bar
> A horizontal stacked bar component created with `React` and `d3`

## Install

```sh
npm install --save component-horizontal-stacked-bar
```

## Example

```js
import React from 'react'
import HorizontalStackedBar from 'component-horizontal-stacked-bar'

export default function EconomicDomainAggregatesBar ({
className,
data
}) {
const generateLabel = (d, i) => { /* ... */ }
const generateColor = (d, i) => { /* ... */ }
return (

)
}
```