Skip to content
/ ng2d3 Public
forked from swimlane/ngx-charts

📊 D3 + Angular2 Composable Re-usable Charting Framework

Notifications You must be signed in to change notification settings

vdineva/ng2d3

 
 

Repository files navigation

ng2d3 Join the chat at https://gitter.im/swimlane/ng2d3 Build Status Code Climate Test Coverage Dependency Status devDependency Status npm version npm downloads

Angular2 + D3js Composable Re-usable Charting Framework.

ng2d3 is unique because we don't merely wrap d3, nor any other chart engine for that matter. It is using Angular to render and animate the SVG elements with all of its binding and speed goodness, and uses d3 for the excellent math functions, scales, axis and shape generators, etc. By having Angular do all of the rendering it opens us up to endless possibilities the Angular platform provides such as AoT, Universal, etc.

Data visualization is a science but that doesn't mean it has to be ugly. One of the big efforts we've made while creating this project is to make the charts aesthetically pleasing. The styles are also completely customizable through CSS, so you can override them as you please.

Also, constructing custom charts is possible by leveraging the various ng2d3 components that are exposed through the ng2d3 module.

For more info, check out the documentation and the demos.

Features

Chart Types

  • Horizontal & Vertical Bar Charts (Standard, Grouped, Stacked, Normalized)
  • Line
  • Area (Standard, Stacked, Normalized)
  • Pie (Explodable, Grid, Custom legends)
  • Donut
  • Gauge
  • Force Directed Graph
  • Heatmap
  • Treemap
  • Number Cards

Customization

  • Autoscaling
  • Timeline Filtering
  • Line Interpolation
  • Configurable Axis Labels
  • Legends (Labels & Gradient)
  • Advanced Label Positioning
  • Real-time data support
  • Advanced Tooltips
  • Data point Event Handlers
  • Works with ngUpgrade

Credits

ng2d3 is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

About

📊 D3 + Angular2 Composable Re-usable Charting Framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.6%
  • JavaScript 4.0%
  • CSS 3.7%
  • HTML 0.7%