Gathering detailed insights and metrics for @d3fc/d3fc-pointer
Gathering detailed insights and metrics for @d3fc/d3fc-pointer
Gathering detailed insights and metrics for @d3fc/d3fc-pointer
Gathering detailed insights and metrics for @d3fc/d3fc-pointer
@d3fc/d3fc-chart
A simple Cartesian chart component that renders to canvas or SVG.
@d3fc/d3fc-element
Custom HTML elements that make it easier to create responsive visualisations that integrate easily with other UI frameworks (e.g. React, Angular)
@d3fc/d3fc-annotation
A collection of D3 components for rendering plot area annotations to SVG, including lines, crosshairs, gridlines and more
@d3fc/d3fc-data-join
A component that simplifies the D3 data join and supports the d3fc decorate pattern
npm install @d3fc/d3fc-pointer
85.3
Supply Chain
71
Quality
80.5
Maintenance
100
Vulnerability
100
License
@d3fc/d3fc-chart@5.1.9
Published on 30 Jul 2024
@d3fc/d3fc-webgl@3.2.1
Published on 30 Jul 2024
@d3fc/d3fc-series@6.1.3
Published on 30 Jul 2024
@d3fc/d3fc-annotation@3.0.16
Published on 30 Jul 2024
d3fc@15.2.13
Published on 30 Jul 2024
d3fc@15.2.12
Published on 02 Jul 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,299 Stars
1,351 Commits
193 Forks
41 Watching
18 Branches
55 Contributors
Updated on 26 Nov 2024
HTML (78.71%)
JavaScript (13.65%)
TypeScript (5.92%)
Shell (1.72%)
Cumulative downloads
Total Downloads
Last day
2.5%
1,493
Compared to previous day
Last week
24.2%
8,550
Compared to previous week
Last month
40.4%
29,042
Compared to previous month
Last year
2.7%
239,276
Compared to previous year
1
2
Components to rapidly build fast, highly customisable, interactive charts with D3
The latest release of D3FC is available via npm or the unpkg CDN. The D3FC project is composed of a number of separate packages each of which can be installed via npm and used independently, or if you prefer you can install the entire D3FC bundle, which includes all of the separate packages -
npm install d3fc
1<script src="https://unpkg.com/d3"></script> 2<script src="https://unpkg.com/d3fc"></script>
Test your installation using the simple chart example.
The following getting-started guides are available -
For API documentation see the corresponding package documentation -
Examples can be found on the project website. These same examples are also available offline.
Framework integration examples:
There are also a number of other documents and articles that provide a bit more background regarding the design principles of D3FC -
This project is a mono-repo that uses Lerna to manage dependencies between packages. To get started, run -
npm ci
npm test
When making changes to a package, you can execute the following either from within the package folder to build just that package or from the project root to build all packages -
npm run bundle
To open a development sandbox which is automatically updated when you save changes to source files, navigate to the project root and run -
npm start
This project is equipped with a Continuous Integration (CI) pipeline using GitHub Actions. It runs a series of checks whenever a pull request to master is opened. The pipeline includes the following steps:
See Conventional Commits for a more detailed explaination.
When opening a PR, be mindful of (and make necessary changes in accordance with) these checks.
Releases are managed via CI and Changesets.
When contributing to the project, developers should add a changeset.
A changeset is a Markdown file with YAML front matter. The contents of the Markdown is the change summary which will be written to the changelog and the YAML front matter describes what packages have changed and what SemVer bump types they should be
1--- 2"@d3fc": major 3"@d3fc/d3fc-annotation": minor 4--- 5 6Change all the things
Changesets should include:
To add a changeset, before putting up a PR, contributors should:
npx changeset
Your final prompt will be to provide a message to go alongside the changeset. This will be written into the changelog when the next release occurs.
Dependabot updates should not affect the consumer, and so do not need a Changeset. These will have PATCH (x.x.1
) version bumps.
From SemVer -
1.x.x
)x.1.x
)x.x.1
)Github tags and releases are done using the Tag Release on Push action. By default, a minor
version bump will be added. To override this, use release:major
, release:minor
, or release:patch
on PRs. Only one of these tags should be added to a PR.
From SemVer -
These components are licensed under the MIT License.
Project supported by Scott Logic.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
8 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More