@flourish/facets
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"extends": "../../.eslintrc.cjs" | ||
"extends": "../../.eslintrc.cjs", | ||
"ignorePatterns": [ | ||
"facets.js", | ||
"facets.min.js" | ||
] | ||
} |
{ | ||
"name": "@flourish/facets", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"private": false, | ||
@@ -11,6 +11,9 @@ "description": "Create small-multiple grid layouts", | ||
"devDependencies": { | ||
"@babel/core": "^7.23.6", | ||
"@babel/preset-env": "^7.23.6", | ||
"@flourish/eslint-plugin-flourish": "^0.7.2", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"eslint": "^8.35.0", | ||
"rollup": "^1.25.2", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup": "^4.6.1", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"terser": "^5.16.1" | ||
@@ -26,9 +29,9 @@ }, | ||
"dependencies": { | ||
"@flourish/pocket-knife": "^1.0.0", | ||
"d3-scale": "2.1.2", | ||
"d3-selection": "^1.4.0", | ||
"d3-transition": "^1.2.0" | ||
"d3-transition": "^1.2.0", | ||
"@flourish/pocket-knife": "^1.3.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint src", | ||
"lint": "eslint .", | ||
"build": "rollup -c", | ||
@@ -35,0 +38,0 @@ "minify": "terser -m -o facets.min.js facets.js", |
# Flourish facets module | ||
A module for creating "small multiples" or "facetted" visualizations. Creates a configurable responsive grid layout in a given SVG. Each "facet" (each cell in the grid) gets a title and a container for the visualization itself, and the module provides editor settings for grid layout and title formatting. | ||
As described below, this module is often used in conjunction with @flourish/chart-layout to add axes to each mini facet visualization, but you could also use it in other ways, e.g. to lay out small multiple maps. | ||
As described below, this module is often used in conjunction with @flourish/chart-layout (or @flourish/axes) to add axes to each mini facet visualization, but you could also use it in other ways, e.g. to lay out small multiple maps. | ||
@@ -135,3 +135,3 @@ ## Summary | ||
For charts with axes, this module is often used with `@flourish/chart-layout` (`@flourish/radial-axis`). One way of doing this is to attach a new chart layout instance once to each new facet. You could do this by maintaining a list of instances… | ||
For charts with axes, this module is often used with `@flourish/chart-layout` (`@flourish/radial-axis`) or `@flourish/axes`. One way of doing this is to attach a new chart layout (or axes) instance once to each new facet. You could do this by maintaining a list of instances… | ||
@@ -264,2 +264,2 @@ ```js | ||
} | ||
``` | ||
``` |
@@ -0,1 +1,4 @@ | ||
# 3.0.2 | ||
* Update setting descriptions and add links | ||
# 3.0.1 | ||
@@ -2,0 +5,0 @@ * Update license annotation |
@@ -370,3 +370,2 @@ import { select } from "d3-selection"; | ||
facets_update.select(".fl-facet-primary") | ||
@@ -373,0 +372,0 @@ .each(updateFacetPrimary) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
137915
264
8
3334
2
1