New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

d-grouped-barchart

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-grouped-barchart

Derby grouped bar chart component using d3 and d3-tip.

  • 0.0.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

d-grouped-barchart

Derby grouped bar chart component using d3 and d3-tip.

Features

  • Grouping key as a setting
  • Negative values
  • Legend based on the grouping key
  • Title and subtitles parameters
  • Fullscreen mode on double click
  • Legend and colors customization

Usage

Install
npm install d-grouped-barchart
Add component into derby application
app.component require('d-grouped-barchart')
Styles
@import '/node_modules/d-grouped-barchart/index.styl'
Data format
data = [
  {
    "role": "Vet",
    "Pre": 3.7857142857,
    "Post": 4.2857142857
  },
  {
    "role": "Engineer",
    "Pre": -4.7142857143,
    "Post": 4.2142857143
  },
  {
    "role": "Mother",
    "Pre": 5.7142857143,
    "Post": 4.7857142857
  }
  ...
]
Within template
view(name='d-grouped-barchart', data='{{_page.data}}', groupByKey='role', width='500', height='200')

Alt text Alt text

Keywords

FAQs

Package last updated on 27 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc