Skip to content

nn-charts 1.4.16

Install from the command line:
Learn more about npm packages
$ npm install @springernature/nn-charts@1.4.16
Install via package.json:
"@springernature/nn-charts": "1.4.16"

About this version

D3 Chart library created by Springer Nature

How to install this package

In your project directory, run the following command:

yarn @springernature/nn-charts

How to import StackBar Chart

import { StackedBarChart } from "nn-charts";
const data = {} // JSON data to render chart
const chart = new StackedBarChart(data)

How to import Column Chart

import { ColumnChart } from "nn-charts";
const data = {} // JSON data to render chart
const chart = new ColumnChart(data)

How to import Line Chart

import { LineChart } from "nn-charts";
const data = {} // JSON data to render chart
const chart = new LineChart(data)

How to import CollapsibleTree Chart

import { CollapsibleTreeChart } from "nn-charts";
const data = {} // JSON data to render chart
const chart = new CollapsibleTreeChart(data)

How to add/insert any static HTML

you can write any html tags in below file/directory

public/index.html

Details


Assets

  • nn-charts-1.4.16.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0