Angular chart components based on D3JS (https://d3js.org).
npm install @rfprodz/client-d3-chartsThis library was generated with Nx.
The Angular chart components based on the D3.js library.
Supported chart types:
- bar chart;
- line chart;
- pie chart;
- radar chart;
- force-directed chart;
The library contains Angular components as well as basic utility functions that can be used to implement the chart types mentioned above in TypeScript.
Import the charts module
``typescript`
import { AppD3ChartsModule } from '@app/client-d3-charts';
Install the package
`bash`
yarn add @rfprodz/client-d3-charts @angular/common @angular/core @types/d3 d3
Import the charts module
`typescript`
import { AppD3ChartsModule } from '@rfprodz/client-d3-charts';
#### in templates
`html`
#### in classes
`typescript`
import {
AppBarChartComponent,
AppForceDirectedChartComponent,
AppGaugeChartComponent,
AppLineChartComponent,
AppPieChartComponent,
AppRadarChartComponent,
} from '@rfprodz/client-d3-charts';
See the chart examples component
`typescript``
import { AppChartExamplesComponent } from '@rfprodz/client-d3-charts';
or the source code