d3fc

A collection of components that make it easy to build interactive charts with D3

Github星跟踪图

Components to rapidly build fast, highly customisable, interactive charts with D3

Installation

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
<script src="https://unpkg.com/d3"></script>
<script src="https://unpkg.com/d3fc"></script>

Test your installation using the simple chart example.

Documentation

The following getting-started guides are available -

  • Building a Chart - a walk through building a chart with D3FC and what makes it different from other libraries.
  • The Decorate Pattern - the pattern D3FC employs, resulting in charting components that are both simple and flexible.
  • Transitions - how to use D3 transitions with D3FC.

For API documentation see the corresponding package documentation -

Examples can be found on the project website. These same examples are also available offline.

There are also a number of other documents and articles that provide a bit more background regarding the design principles of D3FC -

Developing

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

Releases

Releases are managed via CI and semantic release.

License

These components are licensed under the MIT License.

Sponsors

Project supported by Scott Logic.

主要指标

概览
名称与所有者d3fc/d3fc
主编程语言HTML
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2014-10-06 15:03:11
推送于2024-09-28 04:14:49
最后一次提交2024-07-30 10:36:26
发布数1112
最新版本名称d3fc@15.2.13 (发布于 2024-07-30 09:41:24)
第一版名称0.0.1 (发布于 2015-05-04 20:02:15)
用户参与
星数1.3k
关注者数41
派生数197
提交数1.4k
已启用问题?
问题数894
打开的问题数161
拉请求数819
打开的拉请求数8
关闭的拉请求数169
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?