Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-histogram

Package Overview
Dependencies
Maintainers
23
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-histogram - npm Package Versions

1
910

34.3.7

Diff

Changelog

Source

34.3.7 (2020-05-22)

  • #1576 - Add more types for primitive components. Thanks @maddles
boygirl
published 34.3.6 •

Changelog

Source

34.3.6 (2020-05-18)

  • #1580 - Improve histogram tooltip positioning for VictoryVoronoiContainer
  • #1581 - Prevent VictoryVoronoiContainer from rendering tooltips with empty text
boygirl
published 34.3.5 •

Changelog

Source

34.3.5 (2020-05-15)

-#1575 - Allow the id prop for VictoryLabel to be given as a function. Thanks @amyboyd!

boygirl
published 34.3.4 •

Changelog

Source

34.3.4 (2020-05-14)

  • #1573 - Add explicit dependencies on d3-scale and react-fast-compare for victory-histogram. Thanks @Mike-Dax!
boygirl
published 34.3.0 •

Changelog

Source

34.3.0 (2020-05-12)

  • #1531 - Adds a VictoryHistogram component. Huge thanks to @NgoKnows for this new feature!
<VictoryHistogram
  binSpacing={1}
  bins={[0, 20, 50, 500]}
  data={[
    { value: 1 }, { value: 1 }, { value: 2 }, { value: 3 } ...
  ]}
  x="value"
/>

Histogram bins may be defined with the bin prop, which takes either an array of bin edges, or a single number which corresponds to an approximate number of bins. VictoryHistogram is meant to work with continuous data, and expects a data prop as an array of objects with x values. By default, histogram bins will be laid out with no spaces between bins, but the optional binSpacing prop may be provided to change this behavior. Additional documentation and examples will be coming soon.

boygirl
published 0.0.1 •

1
910
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