MCPcopy
hub / github.com/plouc/nivo

github.com/plouc/nivo @v0.99.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.99.0 ↗
2,126 symbols 6,393 edges 1,232 files 0 documented · 0%
README

nivo

Backers on Open Collective Sponsors on Open Collective License GitHub Actions NPM version nivo channel on discord

nivo provides supercharged React components to easily build dataviz apps, it's built on top of d3.

Several libraries already exist for React d3 integration, but just a few provide server side rendering ability and fully declarative charts.

Installation

In order to use nivo, you have to install the @nivo/core package and then choose some of the scoped @nivo packages according to the charts you wish to use:

yarn add @nivo/core @nivo/bar

Features

Discussion

Join the nivo discord community.

Packages & components

nivo is comprised of several packages/components, for a full list, please use the Components Explorer.

Guides

Backers

Donations are welcome to help improving nivo [Become a backer]

Open Collective Sponsors

Support this project by becoming a sponsor, your logo will show up here with a link to your website. [Become a sponsor]

Extension points exported contracts — how you extend this code

RawDatum (Interface)
(no doc)
storybook/stories/icicle/Icicle.stories.tsx
ArcCenter (Interface)
(no doc)
packages/arcs/src/centers.ts
ChordArcProps (Interface)
(no doc)
packages/chord/src/ChordArc.tsx
HeatMapCellAnnotationsProps (Interface)
(no doc)
packages/heatmap/src/HeatMapCellAnnotations.tsx
CrosshairProps (Interface)
(no doc)
packages/tooltip/src/Crosshair.tsx
ColorScale (Interface)
(no doc)
packages/calendar/src/types.ts
IcicleNodesProps (Interface)
(no doc)
packages/icicle/src/IcicleNodes.tsx
NetworkLinksProps (Interface)
(no doc)
packages/network/src/NetworkLinks.tsx

Core symbols most depended-on inside this repo

useTheme
called by 134
packages/theming/src/context.tsx
useMotionConfig
called by 59
packages/core/src/motion/hooks.js
random
called by 57
examples/codesandbox/src/utils.ts
degreesToRadians
called by 56
packages/core/src/lib/polar/utils.js
useInheritedColor
called by 56
packages/colors/src/inheritedColor.ts
useTooltip
called by 55
packages/tooltip/src/hooks.ts
useDimensions
called by 51
packages/core/src/hooks/useDimensions.js
getColor
called by 48
packages/colors/src/inheritedColor.ts

Shape

Function 1,505
Interface 589
Class 24
Method 8

Languages

TypeScript100%

Modules by API surface

website/src/components/controls/types.ts29 symbols
packages/geo/index.d.ts24 symbols
packages/calendar/src/compute/timeRange.ts20 symbols
packages/tree/src/types.ts19 symbols
packages/tree/src/labelsHooks.ts18 symbols
packages/icicle/src/hooks.ts18 symbols
storybook/stories/internal/KeyLogger.tsx16 symbols
packages/generators/src/index.ts15 symbols
packages/funnel/src/hooks.ts15 symbols
scripts/capture.mjs14 symbols
website/src/components/controls/specialized/ValueFormatControl.tsx13 symbols
packages/scales/src/compute.ts13 symbols

Dependencies from manifests, versioned

@babel/core7.21.5 · 1×
@babel/preset-env7.21.5 · 1×
@babel/preset-react7.18.6 · 1×
@babel/preset-typescript7.21.5 · 1×
@ekino/config0.3.0 · 1×
@eslint/js9.25.1 · 1×
@nivo/annotationsworkspace:* · 1×
@nivo/arcsworkspace:* · 1×
@nivo/axesworkspace:* · 1×
@nivo/barworkspace:* · 1×
@nivo/boxplotworkspace:* · 1×
@nivo/bulletworkspace:* · 1×

For agents

$ claude mcp add nivo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact