Commit da693388 authored by Clement Ho's avatar Clement Ho

Merge branch 'docs-graphs-section-new-frontend-guide' into 'master'

Update the new frontend guide to specify the usage of d3

See merge request gitlab-org/gitlab-ce!18294
parents a76dacd9 e3eeb3cb
# Components
> TODO: Add content
## Graphs
We have a lot of graphing libraries in our codebase to render graphs. In an effort to improve maintainability, new graphs should use [D3.js]( If a new graph is fairly simple, consider implementing it in SVGs or HTML5 canvas.
We chose D3 as our library going forward because of the following features:
* [Tree shaking webpack capabilities.](
* [Compatible with vue.js as well as vanilla javascript.](
D3 is very popular across many projects outside of GitLab:
* [The New York Times](
* [](
* [Droptask](
Within GitLab, D3 has been used for the following notable features
* [Prometheus graphs](
* Contribution calendars
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment