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

@d3fc/d3fc-brush

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d3fc/d3fc-brush - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

12

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="2.0.6"></a>
## [2.0.6](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-brush@2.0.5...@d3fc/d3fc-brush@2.0.6) (2018-08-21)
**Note:** Version bump only for package @d3fc/d3fc-brush
<a name="2.0.5"></a>

@@ -16,3 +24,3 @@ ## [2.0.5](https://github.com/d3fc/d3fc-brush/compare/@d3fc/d3fc-brush@2.0.4...@d3fc/d3fc-brush@2.0.5) (2018-08-21)

<a name="2.0.4"></a>
## [2.0.4](https://github.com/d3fc/d3fc-brush/compare/@d3fc/d3fc-brush@2.0.3...@d3fc/d3fc-brush@2.0.4) (2018-08-20)
## [2.0.4](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-brush@2.0.3...@d3fc/d3fc-brush@2.0.4) (2018-08-20)

@@ -25,3 +33,3 @@

<a name="2.0.3"></a>
## [2.0.3](https://github.com/d3fc/d3fc-brush/compare/@d3fc/d3fc-brush@2.0.2...@d3fc/d3fc-brush@2.0.3) (2018-08-15)
## [2.0.3](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-brush@2.0.2...@d3fc/d3fc-brush@2.0.3) (2018-08-15)

@@ -28,0 +36,0 @@

18

package.json
{
"name": "@d3fc/d3fc-brush",
"version": "2.0.5",
"version": "2.0.6",
"description": "Adapts the D3 brush, making it easier to create data-driven brushed charts.",

@@ -11,3 +11,3 @@ "license": "MIT",

],
"homepage": "https://github.com/d3fc/d3fc-brush",
"homepage": "https://github.com/d3fc/d3fc",
"main": "build/d3fc-brush.js",

@@ -17,3 +17,3 @@ "jsnext:main": "index",

"type": "git",
"url": "https://github.com/d3fc/d3fc-brush"
"url": "https://github.com/d3fc/d3fc"
},

@@ -25,6 +25,6 @@ "scripts": {

"devDependencies": {
"@d3fc/d3fc-chart": "^2.0.5",
"@d3fc/d3fc-extent": "^3.0.3",
"@d3fc/d3fc-random-data": "^3.0.3",
"@d3fc/d3fc-scripts": "^2.0.3",
"@d3fc/d3fc-chart": "^2.0.6",
"@d3fc/d3fc-extent": "^3.0.4",
"@d3fc/d3fc-random-data": "^3.0.4",
"@d3fc/d3fc-scripts": "^2.0.4",
"babel-polyfill": "^6.13.0",

@@ -34,4 +34,4 @@ "d3": "^4.2.5"

"dependencies": {
"@d3fc/d3fc-data-join": "^5.0.3",
"@d3fc/d3fc-rebind": "^5.0.3",
"@d3fc/d3fc-data-join": "^5.0.4",
"@d3fc/d3fc-rebind": "^5.0.4",
"d3-brush": "^1.0.3",

@@ -38,0 +38,0 @@ "d3-dispatch": "^1.0.2",

@@ -22,3 +22,3 @@ # d3fc-brush

1. The d3fc-brush is data-driven, with the location of the brush determined by the data supplied via a data join. This makes it easier to create charts that are responsive (i.e, support re-sizing), integrate with other interactive components such as zoom, and create chart rendering logic that is idempotent.
2. The d3fc-brush exposes `xScale` and `yScale` properties for integration with the [multi series](https://github.com/d3fc/d3fc-series#multi-series) component and [cartesian chart](https://github.com/d3fc/d3fc-chart) component. As a result the extent of the brush is automatically set based on the range of each axis.
2. The d3fc-brush exposes `xScale` and `yScale` properties for integration with the [multi series](https://github.com/d3fc/d3fc#multi-series) component and [cartesian chart](https://github.com/d3fc/d3fc) component. As a result the extent of the brush is automatically set based on the range of each axis.
3. The d3fc-brush selection (which defines the brushed range), is represented as a percentage, whereas d3-brush uses pixels. The use of a percentage selection makes it easier to resize a brushed chart.

@@ -25,0 +25,0 @@ 4. The brush events expose utility functions for computing the axis domain based on the current selection, making it easier to handle brush events and update the chart.

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