# @smartnow/legacy-preset-chart-nvd3

> Superset Legacy Chart - NVD3

Latest version **0.17.42** (published 2021-08-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @smartnow/legacy-preset-chart-nvd3
pnpm add @smartnow/legacy-preset-chart-nvd3
yarn add @smartnow/legacy-preset-chart-nvd3
bun add @smartnow/legacy-preset-chart-nvd3
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.17.42 |
| Published | 2021-08-03 |
| First published | 2021-07-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 13 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 (+16 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 352 |
| Author | Superset |
| Maintainers | psolano, aymaru |
| Keywords | superset |

## Links

- npm: https://www.npmjs.com/package/@smartnow/legacy-preset-chart-nvd3
- Repository: https://github.com/apache-superset/superset-ui
- Homepage: https://github.com/apache-superset/superset-ui#readme
- Issues: https://github.com/apache-superset/superset-ui/issues
- npm.io page: https://npm.io/package/@smartnow/legacy-preset-chart-nvd3

## Dependencies (13)

- [d3](https://npm.io/package/d3.md) ^3.5.17
- [urijs](https://npm.io/package/urijs.md) ^1.18.10
- [d3-tip](https://npm.io/package/d3-tip.md) ^0.9.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [mathjs](https://npm.io/package/mathjs.md) ^8.0.1
- [moment](https://npm.io/package/moment.md) ^2.20.1
- [dompurify](https://npm.io/package/dompurify.md) ^2.0.6
- [nvd3-fork](https://npm.io/package/nvd3-fork.md) ^2.0.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [@data-ui/xy-chart](https://npm.io/package/@data-ui/xy-chart.md) ^0.0.84
- [@superset-ui/core](https://npm.io/package/@superset-ui/core.md) 0.17.40
- [fast-safe-stringify](https://npm.io/package/fast-safe-stringify.md) ^2.0.6
- [@superset-ui/chart-controls](https://npm.io/package/@superset-ui/chart-controls.md) 0.17.41

## Recent versions

- 0.17.42 (latest) — 2021-08-03
- 0.17.41 — 2021-07-08

## README

## @superset-ui/legacy-preset-chart-nvd3

[![Version](https://img.shields.io/npm/v/@superset-ui/legacy-preset-chart-nvd3.svg?style=flat-square)](https://www.npmjs.com/package/@superset-ui/legacy-preset-chart-nvd3)
[![David (path)](https://img.shields.io/david/apache-superset/superset-ui-plugins.svg?path=packages%2Fsuperset-ui-legacy-preset-chart-nvd3&style=flat-square)](https://david-dm.org/apache-superset/superset-ui-plugins?path=packages/superset-ui-legacy-preset-chart-nvd3)

This plugin provides Big Number for Superset.

### Usage

Import the preset and register. This will register all the chart plugins under nvd3.

```js
import { NVD3ChartPreset } from '@superset-ui/legacy-preset-chart-nvd3';

new NVD3ChartPreset().register();
```

or register charts one by one. Configure `key`, which can be any `string`, and register the plugin.
This `key` will be used to lookup this chart throughout the app.

```js
import { AreaChartPlugin, LineChartPlugin } from '@superset-ui/legacy-preset-chart-nvd3';

new AreaChartPlugin().configure({ key: 'area' }).register();
new LineChartPlugin().configure({ key: 'line' }).register();
```

Then use it via `SuperChart`. See
[storybook](https://apache-superset.github.io/superset-ui-plugins/?selectedKind=plugin-chart-nvd3)
for more details.

```js
<SuperChart
  chartType="line"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>
```

---
_Source: https://npm.io/package/@smartnow/legacy-preset-chart-nvd3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
