All Projects → mattdodge → D3Fire

mattdodge / D3Fire

Licence: other
Power your D3 visualizations with data from Firebase

Programming Languages

HTML
75241 projects

Projects that are alternatives of or similar to D3Fire

Vuesalize
Component library dedicated to simplifying interactive visualization building in Vue.js.
Stars: ✭ 24 (-22.58%)
Mutual labels:  d3, d3js
Reaviz
📊 Data visualization library for React based on D3
Stars: ✭ 215 (+593.55%)
Mutual labels:  d3, d3js
D3 Geo Voronoi
Voronoi / Delaunay tessellations on the sphere
Stars: ✭ 155 (+400%)
Mutual labels:  d3, d3js
Rid3
Reagent Interface to D3
Stars: ✭ 135 (+335.48%)
Mutual labels:  d3, d3js
ddplot
Create D3 based SVG graphics easily from R
Stars: ✭ 43 (+38.71%)
Mutual labels:  d3, d3js
Scatterd3
R scatter plot htmlwidget based on D3.js
Stars: ✭ 135 (+335.48%)
Mutual labels:  d3, d3js
V Chart Plugin
Easily bind a chart to the data stored in your Vue.js components.
Stars: ✭ 188 (+506.45%)
Mutual labels:  d3, d3js
D3 Audio Spectrum
Spectrum analysis demo using D3 and HTML5 audio
Stars: ✭ 101 (+225.81%)
Mutual labels:  d3, d3js
Gtr Cof
Interactive music theory dashboard for guitarists. http://guitardashboard.com/
Stars: ✭ 244 (+687.1%)
Mutual labels:  d3, d3js
Plotly Graphing Library For Matlab
Plotly Graphing Library for MATLAB®
Stars: ✭ 234 (+654.84%)
Mutual labels:  d3, d3js
Eon Chart
Realtime animated graphs with PubNub and C3.
Stars: ✭ 121 (+290.32%)
Mutual labels:  d3, d3js
you-draw-it
Datenjournalismus: Nutzer können schätzen, wie sich Statistiken verändert haben und ihre Einschätzung danach überprüfen.
Stars: ✭ 24 (-22.58%)
Mutual labels:  d3, d3js
Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (+4774.19%)
Mutual labels:  d3, d3js
D3 Es6
D3 力导向图 增删改动态更新数据 点击生成节点 拖拽生成连线...
Stars: ✭ 155 (+400%)
Mutual labels:  d3, d3js
D3js doc
D3js中文文档 D3中文 📊 📈 🎉
Stars: ✭ 1,599 (+5058.06%)
Mutual labels:  d3, d3js
D3tutorial
📊📈 A D3 v6 tutorial - interactive bar chart and multiple coordinated views (MCV)
Stars: ✭ 163 (+425.81%)
Mutual labels:  d3, d3js
D3blackbox
A simple React wrapper for any D3 code you want
Stars: ✭ 80 (+158.06%)
Mutual labels:  d3, d3js
Dex
Dex : The Data Explorer -- A data visualization tool written in Java/Groovy/JavaFX capable of powerful ETL and publishing web visualizations.
Stars: ✭ 1,238 (+3893.55%)
Mutual labels:  d3, d3js
Ssthouse Blog
个人博客仓库:前端 / 数据可视化 / D3.js
Stars: ✭ 231 (+645.16%)
Mutual labels:  d3, d3js
mastering-d3
Code examples for the book Mastering D3.js, published in August 2014 by Packt Publishing.
Stars: ✭ 56 (+80.65%)
Mutual labels:  d3, d3js

D3Fire

Plugin to easily hook up a Firebase to your D3 visualizations. D3's data binding can be quite powerful, but tends to assume that you have a working copy of the data in your script somewhere. This plugin comes in handy when you want to defer your data storage to Firebase, which provides a "realtime" database and does not require you to keep your own local copy.

Install

Pretty simple, just include the script tag for this plugin after you have included the Firebase and D3 script tags. Still need an example? Try this:

<script type='text/javascript' src='http://d3js.org/d3.v3.min.js'></script>
<script type='text/javascript' src='https://cdn.firebase.com/v0/firebase.js'></script>
<script type='text/javascript' src='d3fire.min.js'></script>

Use It

The plugin creates a new D3 function that operates on a selection called firebase(). Take a selection and bind a Firebase to it; you can include callback functions for when data is added/updated/deleted from the Firebase.

d3.select('svg').firebase(
    'https://yourfirebase.firebaseIO.com', 
    {
        createFunc : function(newData) {
            // callback when data is added, maybe we want to add a text element?
            return this.append('text').text(newData.val());
        },
        updateFunc : function(changedData) {
            // data was changed, let's change the text
            this.text(changedData.val());
        }
    }
);

D3Fire will take care of binding to the __data__ attribute of each selector, giving you a copy of the Firebase snapshot to use in later calls.

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].