GithubHelp home page GithubHelp logo

rlugojr / britecharts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from britecharts/britecharts

0.0 0.0 0.0 14.3 MB

Client-side reusable Charting Library based on D3.js v4 that allows easy and intuitive use of charts and components that can be composed together creating amazing visualizations.

Home Page: http://eventbrite.github.io/britecharts/

License: Apache License 2.0

JavaScript 97.48% CSS 2.31% Shell 0.21%

britecharts's Introduction

Britecharts

Britecharts Logo

Britecharts is a client-side reusable Charting Library based on D3.js v4 that allows easy and intuitive use of charts and components that can be composed together creating amazing visualizations.

Build Status npm version Bower version

Britecharts components have been written in ES2015 with a Test Driven methodology so they are fully tested, and we are commited to keep them that way.

Key Features

The main characteristics of this library are:

  • Reusability
  • Composability
  • Fully tested
  • ES2015 source code (transpiled with Babel)

Usage

The typical use of Britecharts involves creating a chart using it's simple API, and rendering it on a container which has previously been applied some data. The code will look like this:

barChart
    .width(500)
    .height(300);

barContainer.datum(dataset).call(barChart);

API

All the components expose some basic API methods like width, height and margin. Additionally, each chart or component can expose more methods. They will be ready to check in the documentation of the modules:

Installation

Britecharts components are distributed in UMD modules, each one exposing a D3.js component written with the Reusable API pattern. In order to use any of the Britecharts modules, you will need to require the chart in your JS file using AMD/CommonJS modules or adding a script tag with the src pointing to the file. You would also need to load the D3.js selection library in order to select the chart container.

   npm install britecharts d3-selection

They also provide some minimal CSS styling, that can be loaded independently or as a bundle.

Roadmap

This project is in active development, if you are interested on helping you can check the contributing document. Review the issues page for more info in what's coming and to give your feedback and to vote for your favorite proposals.

See Also

Acknowledgments

Britecharts was inspired by two books, Developing a D3.js Edge and Mastering D3.js. It also leveraged a great number of examples and articles from the D3.js community overall.

License

Copyright 2017 Eventbrite

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Read more in the license document

britecharts's People

Contributors

codyjung avatar cwalker-eb avatar evb-sun avatar golodhros avatar jphilipps-eb avatar jshuping avatar magshi avatar miglesiaseb avatar rwholey-eb avatar ryanwholey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.