Skip to content

Commit

Permalink
chore(packages): improve package readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Jan 12, 2022
1 parent fdc93a6 commit 38257b8
Show file tree
Hide file tree
Showing 38 changed files with 220 additions and 101 deletions.
56 changes: 18 additions & 38 deletions README.md
Expand Up @@ -24,18 +24,17 @@ yarn add @nivo/core @nivo/bar

## Features

- Highly customizable
- Motion/transitions, powered by [react-motion](https://github.com/chenglou/react-motion)
- [Component playground](http://nivo.rocks)
- [Exhaustive documentation](http://nivo.rocks)
- Isomorphic rendering
- [SVG charts](http://nivo.rocks/components?filter=svg)
- [HTML charts](http://nivo.rocks/components?filter=html)
- [Canvas charts](http://nivo.rocks/components?filter=canvas)
- [server side rendering API](https://github.com/plouc/nivo-api)
- [SVG patterns](http://nivo.rocks/guides/patterns)
- [Gradients](http://nivo.rocks/guides/gradients)
- [responsive charts](http://nivo.rocks/components?q=responsive)
- Highly Customizable
- Motion/Transitions, powered by [react-spring](https://react-spring.io)
- [Interactive Components Playground](http://nivo.rocks/)
- [Exhaustive Documentation](http://nivo.rocks/)
- [SVG Charts](http://nivo.rocks/components/?filter=svg)
- [HTML Charts](http://nivo.rocks/components/?filter=html)
- [Canvas Charts](http://nivo.rocks/components/?filter=canvas)
- Server Side Rendering and HTTP API
- [Patterns](http://nivo.rocks/guides/patterns/) & [Gradients](http://nivo.rocks/guides/gradients/)
- [Theming](http://nivo.rocks/guides/theming/)
- Responsive Charts

## Discussion

Expand All @@ -44,29 +43,16 @@ Join the [nivo discord community](https://discord.gg/n7Ft74f).
## Packages & components

**nivo** is comprised of several packages/components, for a full list,
please use the [components explorer](http://nivo.rocks/components).

## [HTTP API](https://github.com/plouc/nivo-api)

Components available through the HTTP rendering API.

- [Bar](https://nivo-api.herokuapp.com/samples/bar.svg)
- [CirclePacking](https://nivo-api.herokuapp.com/samples/circle-packing.svg)
- [Chord](https://nivo-api.herokuapp.com/samples/chord.svg)
- [HeatMap](https://nivo-api.herokuapp.com/samples/heatmap.svg)
- [Line](https://nivo-api.herokuapp.com/samples/line.svg)
- [Pie](https://nivo-api.herokuapp.com/samples/pie.svg)
- [Radar](https://nivo-api.herokuapp.com/samples/radar.svg)
- [Sankey](https://nivo-api.herokuapp.com/samples/sankey.svg)
- [Sunburst](https://nivo-api.herokuapp.com/samples/sunburst.svg)
- [TreeMap](https://nivo-api.herokuapp.com/samples/treemap.svg)
please use the [Components Explorer](http://nivo.rocks/components/).

## Guides

- [colors](http://nivo.rocks/guides/colors)
- [legends](http://nivo.rocks/guides/legends)
- [gradients](http://nivo.rocks/guides/gradients)
- [patterns](http://nivo.rocks/guides/patterns)
- [Axes](http://nivo.rocks/guides/axes/)
- [Colors](http://nivo.rocks/guides/colors/)
- [Legends](http://nivo.rocks/guides/legends/)
- [Gradients](http://nivo.rocks/guides/gradients/)
- [Patterns](http://nivo.rocks/guides/patterns/)
- [Theming](http://nivo.rocks/guides/theming/)

## Backers

Expand All @@ -79,12 +65,6 @@ Donations are welcome to help improving **nivo** [[Become a backer](https://open
Support this project by becoming a sponsor,
your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/nivo#sponsor)]

## Credits

- [d3](https://d3js.org/)
- [react](https://facebook.github.io/react/)
-

[license-image]: https://img.shields.io/github/license/plouc/nivo.svg?style=flat-square
[license-url]: https://github.com/plouc/nivo/blob/master/LICENSE.md
[npm-image]: https://img.shields.io/npm/v/@nivo/core.svg?style=flat-square
Expand Down
5 changes: 5 additions & 0 deletions packages/annotations/README.md
@@ -1 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/annotations`

[![version](https://img.shields.io/npm/v/@nivo/annotations?style=for-the-badge)](https://www.npmjs.com/package/@nivo/annotations)
[![downloads](https://img.shields.io/npm/dm/@nivo/annotations?style=for-the-badge)](https://www.npmjs.com/package/@nivo/annotations)
5 changes: 4 additions & 1 deletion packages/arcs/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/arcs`

[![version](https://img.shields.io/npm/v/@nivo/arcs.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/arcs)
[![version](https://img.shields.io/npm/v/@nivo/arcs?style=for-the-badge)](https://www.npmjs.com/package/@nivo/arcs)
[![downloads](https://img.shields.io/npm/dm/@nivo/arcs?style=for-the-badge)](https://www.npmjs.com/package/@nivo/arcs)

This package is used internally by nivo packages dealing with arcs
such as `@nivo/pie`, `@nivo/chord` and `@nivo/sunburst`.
5 changes: 5 additions & 0 deletions packages/axes/README.md
@@ -1 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/axes`

[![version](https://img.shields.io/npm/v/@nivo/axes?style=for-the-badge)](https://www.npmjs.com/package/@nivo/axes)
[![downloads](https://img.shields.io/npm/dm/@nivo/axes?style=for-the-badge)](https://www.npmjs.com/package/@nivo/axes)
9 changes: 6 additions & 3 deletions packages/bar/README.md
@@ -1,15 +1,18 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/bar`

[![version](https://img.shields.io/npm/v/@nivo/bar.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/bar)
[![version](https://img.shields.io/npm/v/@nivo/bar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bar)
[![downloads](https://img.shields.io/npm/dm/@nivo/bar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bar)

## Bar

[documentation](http://nivo.rocks/bar)
[documentation](http://nivo.rocks/bar/)

![Bar](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/bar.png)

## BarCanvas

[documentation](http://nivo.rocks/bar/canvas)
[documentation](http://nivo.rocks/bar/canvas/)

![BarCanvas](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/bar-canvas.png)
7 changes: 5 additions & 2 deletions packages/bullet/README.md
@@ -1,9 +1,12 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/bullet`

[![version](https://img.shields.io/npm/v/@nivo/bullet.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/bullet)
[![version](https://img.shields.io/npm/v/@nivo/bullet?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bullet)
[![downloads](https://img.shields.io/npm/dm/@nivo/bullet?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bullet)

## Bullet

[documentation](http://nivo.rocks/bullet)
[documentation](http://nivo.rocks/bullet/)

![Bullet](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/bullet.png)
5 changes: 4 additions & 1 deletion packages/bump/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/bump`

[![version](https://img.shields.io/npm/v/@nivo/bump.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/bump)
[![version](https://img.shields.io/npm/v/@nivo/bump?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bump)
[![downloads](https://img.shields.io/npm/dm/@nivo/bump?style=for-the-badge)](https://www.npmjs.com/package/@nivo/bump)

## Bump

Expand Down
13 changes: 11 additions & 2 deletions packages/calendar/README.md
@@ -1,9 +1,18 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/calendar`

[![version](https://img.shields.io/npm/v/@nivo/calendar.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/calendar)
[![version](https://img.shields.io/npm/v/@nivo/calendar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/calendar)
[![downloads](https://img.shields.io/npm/dm/@nivo/calendar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/calendar)

## Calendar

[documentation](http://nivo.rocks/calendar)
[documentation](http://nivo.rocks/calendar/)

![Calendar](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/calendar.png)

## CalendarCanvas

[documentation](http://nivo.rocks/calendar/canvas/)

![Calendar](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/calendar-canvas.png)
5 changes: 4 additions & 1 deletion packages/chord/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/chord`

[![version](https://img.shields.io/npm/v/@nivo/chord.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/chord)
[![version](https://img.shields.io/npm/v/@nivo/chord?style=for-the-badge)](https://www.npmjs.com/package/@nivo/chord)
[![downloads](https://img.shields.io/npm/dm/@nivo/chord?style=for-the-badge)](https://www.npmjs.com/package/@nivo/chord)

## Chord

Expand Down
11 changes: 7 additions & 4 deletions packages/circle-packing/README.md
@@ -1,21 +1,24 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/circle-packing`

[![version](https://img.shields.io/npm/v/@nivo/circle-packing.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/circle-packing)
[![version](https://img.shields.io/npm/v/@nivo/circle-packing?style=for-the-badge)](https://www.npmjs.com/package/@nivo/circle-packing)
[![downloads](https://img.shields.io/npm/dm/@nivo/circle-packing?style=for-the-badge)](https://www.npmjs.com/package/@nivo/circle-packing)

## CirclePacking

[documentation](http://nivo.rocks/circle-pack)
[documentation](http://nivo.rocks/circle-packing/)

![CirclePacking](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/circle-packing.png)

## CirclePackingHtml

[documentation](http://nivo.rocks/circle-pack/html)
[documentation](http://nivo.rocks/circle-packing/html/)

![CirclePackingHtml](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/circle-packing-html.png)

## CirclePackingCanvas

[documentation](http://nivo.rocks/circle-packing/canvas)
[documentation](http://nivo.rocks/circle-packing/canvas/)

![CirclePackingCanvas](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/circle-packing-canvas.png)
5 changes: 4 additions & 1 deletion packages/colors/README.md
@@ -1,3 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/colors`

[![version](https://img.shields.io/npm/v/@nivo/colors.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/colors)
[![version](https://img.shields.io/npm/v/@nivo/colors?style=for-the-badge)](https://www.npmjs.com/package/@nivo/colors)
[![downloads](https://img.shields.io/npm/dm/@nivo/colors?style=for-the-badge)](https://www.npmjs.com/package/@nivo/colors)
5 changes: 4 additions & 1 deletion packages/core/README.md
@@ -1,3 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/core`

[![version](https://img.shields.io/npm/v/@nivo/core.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/core)
[![version](https://img.shields.io/npm/v/@nivo/core?style=for-the-badge)](https://www.npmjs.com/package/@nivo/core)
[![downloads](https://img.shields.io/npm/dm/@nivo/core?style=for-the-badge)](https://www.npmjs.com/package/@nivo/core)
5 changes: 4 additions & 1 deletion packages/express/README.md
@@ -1,3 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/express`

[![version](https://img.shields.io/npm/v/@nivo/express.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/express)
[![version](https://img.shields.io/npm/v/@nivo/express?style=for-the-badge)](https://www.npmjs.com/package/@nivo/express)
[![downloads](https://img.shields.io/npm/dm/@nivo/express?style=for-the-badge)](https://www.npmjs.com/package/@nivo/express)
19 changes: 19 additions & 0 deletions packages/funnel/LICENSE.md
@@ -0,0 +1,19 @@
Copyright (c) Raphaël Benitte

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 5 additions & 2 deletions packages/funnel/README.md
@@ -1,9 +1,12 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/funnel`

[![version](https://img.shields.io/npm/v/@nivo/funnel.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/funnel)
[![version](https://img.shields.io/npm/v/@nivo/funnel?style=for-the-badge)](https://www.npmjs.com/package/@nivo/funnel)
[![downloads](https://img.shields.io/npm/dm/@nivo/funnel?style=for-the-badge)](https://www.npmjs.com/package/@nivo/funnel)

## Funnel

[documentation](http://nivo.rocks/funnel)
[documentation](http://nivo.rocks/funnel/)

![Funnel](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/funnel.png)
5 changes: 4 additions & 1 deletion packages/generators/README.md
@@ -1,3 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/generators`

[![version](https://img.shields.io/npm/v/@nivo/generators.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/generators)
[![version](https://img.shields.io/npm/v/@nivo/generators?style=for-the-badge)](https://www.npmjs.com/package/@nivo/generators)
[![downloads](https://img.shields.io/npm/dm/@nivo/generators?style=for-the-badge)](https://www.npmjs.com/package/@nivo/generators)
13 changes: 8 additions & 5 deletions packages/geo/README.md
@@ -1,27 +1,30 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/geo`

[![version](https://img.shields.io/npm/v/@nivo/geo.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/geo)
[![version](https://img.shields.io/npm/v/@nivo/geo?style=for-the-badge)](https://www.npmjs.com/package/@nivo/geo)
[![downloads](https://img.shields.io/npm/dm/@nivo/geo?style=for-the-badge)](https://www.npmjs.com/package/@nivo/geo)

## GeoMap

[documentation](http://nivo.rocks/geomap)
[documentation](http://nivo.rocks/geomap/)

![GeoMap](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/geomap.png)

## GeoMapCanvas

[documentation](http://nivo.rocks/geomap/canvas)
[documentation](http://nivo.rocks/geomap/canvas/)

![GeoMapCanvas](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/geomap-canvas.png)

## Choropleth

[documentation](http://nivo.rocks/choropleth)
[documentation](http://nivo.rocks/choropleth/)

![Choropleth](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/choropleth.png)

## ChoroplethCanvas

[documentation](http://nivo.rocks/choropleth/canvas)
[documentation](http://nivo.rocks/choropleth/canvas/)

![ChoroplethCanvas](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/choropleth-canvas.png)
9 changes: 6 additions & 3 deletions packages/heatmap/README.md
@@ -1,15 +1,18 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/heatmap`

[![version](https://img.shields.io/npm/v/@nivo/heatmap.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/heatmap)
[![version](https://img.shields.io/npm/v/@nivo/heatmap?style=for-the-badge)](https://www.npmjs.com/package/@nivo/heatmap)
[![downloads](https://img.shields.io/npm/dm/@nivo/heatmap?style=for-the-badge)](https://www.npmjs.com/package/@nivo/heatmap)

## HeatMap

[documentation](http://nivo.rocks/heatmap)
[documentation](http://nivo.rocks/heatmap/)

![HeatMap](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/heatmap.png)

## HeatMapCanvas

[documentation](http://nivo.rocks/heatmap/canvas)
[documentation](http://nivo.rocks/heatmap/canvas/)

![HeatmapCanvas](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/heatmap-canvas.png)
5 changes: 4 additions & 1 deletion packages/legends/README.md
@@ -1,3 +1,6 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/legends`

[![version](https://img.shields.io/npm/v/@nivo/legends.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/legends)
[![version](https://img.shields.io/npm/v/@nivo/legends?style=for-the-badge)](https://www.npmjs.com/package/@nivo/legends)
[![downloads](https://img.shields.io/npm/dm/@nivo/legends?style=for-the-badge)](https://www.npmjs.com/package/@nivo/legends)
5 changes: 4 additions & 1 deletion packages/line/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/line`

[![version](https://img.shields.io/npm/v/@nivo/line.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/line)
[![version](https://img.shields.io/npm/v/@nivo/line?style=for-the-badge)](https://www.npmjs.com/package/@nivo/line)
[![downloads](https://img.shields.io/npm/dm/@nivo/line?style=for-the-badge)](https://www.npmjs.com/package/@nivo/line)

## Line

Expand Down
5 changes: 4 additions & 1 deletion packages/marimekko/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/marimekko`

[![version](https://img.shields.io/npm/v/@nivo/marimekko.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/marimekko)
[![version](https://img.shields.io/npm/v/@nivo/marimekko?style=for-the-badge)](https://www.npmjs.com/package/@nivo/marimekko)
[![downloads](https://img.shields.io/npm/dm/@nivo/marimekko?style=for-the-badge)](https://www.npmjs.com/package/@nivo/marimekko)

## Marimekko

Expand Down
5 changes: 4 additions & 1 deletion packages/network/README.md
@@ -1,6 +1,9 @@
<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/network`

[![version](https://img.shields.io/npm/v/@nivo/network.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/network)
[![version](https://img.shields.io/npm/v/@nivo/network?style=for-the-badge)](https://www.npmjs.com/package/@nivo/network)
[![downloads](https://img.shields.io/npm/dm/@nivo/network?style=for-the-badge)](https://www.npmjs.com/package/@nivo/network)

## Network

Expand Down

0 comments on commit 38257b8

Please sign in to comment.