All Projects → shawnbot → D3 Bootstrap

shawnbot / D3 Bootstrap

Licence: bsd-2-clause
[DEPRECATED] d3-friendly versions of Twitter bootstrap JavaScript tools

Labels

Projects that are alternatives of or similar to D3 Bootstrap

Sklearn tutorial
Tutorial for astronomy data processing with scikit-learn
Stars: ✭ 100 (-4.76%)
Mutual labels:  makefile
Microservice Canvas
Examples of the microservice canvas
Stars: ✭ 103 (-1.9%)
Mutual labels:  makefile
Ecs Refarch Cloudformation
A reference architecture for deploying containerized microservices with Amazon ECS and AWS CloudFormation (YAML)
Stars: ✭ 1,497 (+1325.71%)
Mutual labels:  makefile
Activiti Cloud Examples
Activiti Cloud Examples using Docker Images from: https://hub.docker.com/u/activiti/dashboard/
Stars: ✭ 102 (-2.86%)
Mutual labels:  makefile
Pyzh
📚 一起写Python文章,一起看Python文章 - 利用readthedocs的Python技术文章的收集和翻译。
Stars: ✭ 1,387 (+1220.95%)
Mutual labels:  makefile
Bsdowl
A highly portable build system targeting modern UNIX systems. Supports C, OCaml, TeX, METAPOST, NOWEB, M4, and more. Based on BSD Make.
Stars: ✭ 103 (-1.9%)
Mutual labels:  makefile
Kernel Tools
🐧 Kernels on Scaleway
Stars: ✭ 99 (-5.71%)
Mutual labels:  makefile
Make.go
A Go script that could replace your Makefile.
Stars: ✭ 105 (+0%)
Mutual labels:  makefile
Layout Instability
A proposal for a Layout Instability specification
Stars: ✭ 103 (-1.9%)
Mutual labels:  makefile
Operating System
🔰 Home Assistant Operating System
Stars: ✭ 1,920 (+1728.57%)
Mutual labels:  makefile
Cookiecutter Lux Python
Cookiecutter template for an idiomatic Python project driven by Makefile
Stars: ✭ 102 (-2.86%)
Mutual labels:  makefile
Mesos Compose
Mesos cluster in one command
Stars: ✭ 102 (-2.86%)
Mutual labels:  makefile
Gdm3setup
An interface to configure GDM3, autologin options and change Shell theme
Stars: ✭ 103 (-1.9%)
Mutual labels:  makefile
License List Xml
This is the repository for the master files that comprise the SPDX License List
Stars: ✭ 101 (-3.81%)
Mutual labels:  makefile
Yii2 Cookbook
Yii 2.0 Community Cookbook
Stars: ✭ 1,397 (+1230.48%)
Mutual labels:  makefile
Udict
A command line urban dictionary.
Stars: ✭ 99 (-5.71%)
Mutual labels:  makefile
Android build
Stars: ✭ 101 (-3.81%)
Mutual labels:  makefile
Makefile For The Front End
A decent Makefile for fast prototyping and a good development experience.
Stars: ✭ 105 (+0%)
Mutual labels:  makefile
Docker Composer
🙆 Docker container to install and run Composer.
Stars: ✭ 104 (-0.95%)
Mutual labels:  makefile
Devopicons
Heavily-optimised version of the Devicons icon-font.
Stars: ✭ 104 (-0.95%)
Mutual labels:  makefile

⚠️ This repository is no longer maintained ⚠️

Please see sebt3/d3-bootstrap, an implementation that supports D3 v4.

d3-bootstrap

Twitter's Bootstrap is an awesome CSS framework with some really nice JavaScript tools. The problem with these tools, though, is that they rely heavily on jQuery, while d3 provides (approximately) 99% of the functionality they require.

At first I considered a shim for $ that would expose a more jQuery-like facade on top of d3, but that quickly got messy. Instead, I decided to start rewriting each of Bootstrap's tools from scratch and in a more d3-friendly style. For example, Bootstrap's tooltips:

$("a.tt").tooltip({
  placement: "right"
});

become:

d3.selectAll("a.tt")
  .call(bootstrap.tooltip()
    .placement("right"));

Plugins

So far we've got:

  1. Tooltips (bootstrap)
  2. Popovers (bootstrap)
  3. Alerts (bootstrap)

Usage

There are a couple of ways to use the plugins. The easiest is to just include d3-bootstrap.js (or the minified version, d3-bootstrap.min.js). If you want individual tools you'll need:

  1. d3-compat.js (or d3-compat.min.js), which provides some baseline jQuery-like compatibility such as "mouseenter" and "mouseleave" event support; and
  2. One or more bootstrap-{tool}.js scripts, e.g. bootstrap-tooltip.js.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].