4 |
5 | A reusable d3-based chart library.
6 |
7 | ## Installing
8 |
9 | If you use NPM, `npm install d2b`. Otherwise, you can download the latest build [here](https://github.com/d2bjs/d2b) or install it via [CDN](https://unpkg.com/d2b/dist/d2b.min.js).
10 |
11 | ## API Reference
12 |
13 | You can see the d2b API references [here](http://docs.d2bjs.org).
14 |
15 | ## Optional Dependencies
16 |
17 | - [font awesome icons](http://fontawesome.io/get-started/): Many of the charts use this icon set.
18 |
19 | - [d3-sankey](https://github.com/d3/d3-sankey): Used by the d2b [sankey chart](./charts/sankey.md) and [sankey svg](./svg/sankey.md). If using NPM this dependency will automatically be included.
20 |
21 | - [d3-interpolate-path](https://github.com/pbeshai/d3-interpolate-path): Used by the d2b `v > 0.0.41` [line svg](./svg/line.md) and [area svg](./svg/area.md) for smoother interpolation. This dependency is optional, by default d3's path interpolation will be used. If installing with NPM this dependency will automatically be included.
22 |
23 | ## Examples
24 |
25 | You can try out many d2b live code examples [here](http://d2bjs.org).
26 |
27 | If you are using Vue.js there is a [vue-d2b](https://github.com/d2bjs/vue-d2b) plugin that makes using d2b even easier.
28 |
29 | 









4 |
5 | A reusable d3-based chart library.
6 |
7 | ## Installing
8 |
9 | If you use NPM, `npm install d2b`. Otherwise, you can download the latest build [here](https://github.com/d2bjs/d2b) or install it via [CDN](https://unpkg.com/d2b/build/d2b.min.js).
10 |
11 | ## API Reference
12 |
13 | You can see the d2b API references [here](http://docs.d2bjs.org).
14 |
15 | ## Optional Dependencies
16 |
17 | - [font awesome icons](http://fontawesome.io/get-started/): Many of the charts use this icon set.
18 |
19 | - [d3-sankey](https://github.com/d3/d3-sankey): Used by the d2b [sankey chart](./charts/sankey.md) and [sankey svg](./svg/sankey.md). If using NPM this dependency will automatically be included.
20 |
21 | - [d3-interpolate-path](https://github.com/pbeshai/d3-interpolate-path): Used by the d2b `v > 0.0.41` [line svg](./svg/line.md) and [area svg](./svg/area.md) for smoother interpolation. This dependency is optional, by default d3's path interpolation will be used. If installing with NPM this dependency will automatically be included.
22 |
23 | ## Examples
24 |
25 | You can try out many d2b live code examples [here](http://d2bjs.org).
26 |
27 | If you are using Vue.js there is a [vue-d2b](https://github.com/d2bjs/vue-d2b) plugin that makes using d2b even easier.
28 |
29 | 









4 |
5 | A reusable d3-based chart library.
6 |
7 | ## Installing
8 |
9 | If you use NPM, `npm install d2b`. Otherwise, you can download the latest build [here](https://github.com/d2bjs/d2b) or install it via [CDN](https://unpkg.com/d2b/dist/d2b.min.js).
10 |
11 | ## API Reference
12 |
13 | You can see the d2b API references [here](http://docs.d2bjs.org).
14 |
15 | ## Optional Dependencies
16 |
17 | - [font awesome icons](http://fontawesome.io/get-started/): Many of the charts use this icon set.
18 |
19 | - [d3-sankey](https://github.com/d3/d3-sankey): Used by the d2b [sankey chart](./charts/sankey.md) and [sankey svg](./svg/sankey.md). If using NPM this dependency will automatically be included.
20 |
21 | - [d3-interpolate-path](https://github.com/pbeshai/d3-interpolate-path): Used by the d2b `v > 0.0.41` [line svg](./svg/line.md) and [area svg](./svg/area.md) for smoother interpolation. This dependency is optional, by default d3's path interpolation will be used. If installing with NPM this dependency will automatically be included.
22 |
23 | ## Examples
24 |
25 | You can try out many d2b live code examples [here](http://d2bjs.org).
26 |
27 | If you are using Vue.js there is a [vue-d2b](https://github.com/d2bjs/vue-d2b) plugin that makes using d2b even easier.
28 |
29 | 









YEAR: 2017 60 | COPYRIGHT HOLDER: Kent Russell 61 |62 | 63 |
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
62 |We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
63 |Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
64 |Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
65 |Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
66 |This Code of Conduct is adapted from the Contributor Covenant (http:contributor-covenant.org), version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
67 |
60 | All functions61 | 62 | |
63 | |
|---|---|
| 64 | 65 | | 66 |Add Shiny Events |
67 |
| 68 | 69 | | 70 |Shiny bindings for d2b |
71 |
| 72 | 73 | | 74 |Shiny bindings for sunburst |
75 |
| 76 | 77 | | 78 |`d3.js` Sequence Sunburst Diagrams |
79 |
| 80 | 81 | | 82 |Sunburst Using 'd2b' |
83 |
| 84 | 85 | | 86 |Advanced Customization of 'd2b' Breadcrumb |
87 |
| 88 | 89 | | 90 |Advanced Customization of 'd2b' Tooltip |
91 |
Output and render functions for using d2b within Shiny 64 | applications and interactive Rmd documents.
65 |sund2bOutput(outputId, width = "100%", height = "400px")
69 |
70 | renderSund2b(expr, env = parent.frame(), quoted = FALSE)output variable to read from
Must be a valid CSS unit (like '100%',
81 | '400px', 'auto') or a number, which will be coerced to a
82 | string and have 'px' appended.
An expression that generates a d2b
The environment in which to evaluate expr.
Is expr a quoted expression (with quote())? This
95 | is useful if you want to save an expression in a variable.
Output and render functions for using sunburst within Shiny 64 | applications and interactive Rmd documents.
65 |sunburstOutput(outputId, width = "100%", height = "400px")
69 |
70 | renderSunburst(expr, env = parent.frame(), quoted = FALSE)output variable to read from
Must be a valid CSS unit (like '100%',
81 | '400px', 'auto') or a number, which will be coerced to a
82 | string and have 'px' appended.
An expression that generates a sunburst
The environment in which to evaluate expr.
Is expr a quoted expression (with quote())? This
95 | is useful if you want to save an expression in a variable.