All Projects → springload → react-d3-integration

springload / react-d3-integration

Licence: other
An example on how to integrate D3 into React

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to react-d3-integration

D3 Parliament
A parliament chart based on D3js
Stars: ✭ 44 (+214.29%)
Mutual labels:  d3, dataviz
Teamchatviz
#teamchatviz
Stars: ✭ 146 (+942.86%)
Mutual labels:  d3, dataviz
Vue D3 Workshop
Workshop content material and excercises for Suncoast Developers
Stars: ✭ 63 (+350%)
Mutual labels:  d3, dataviz
Mozaik
Mozaïk is a tool based on nodejs / react / redux / nivo / d3 to easily craft beautiful dashboards
Stars: ✭ 3,546 (+25228.57%)
Mutual labels:  d3, dataviz
lineage
Family Tree Data Expression Engine
Stars: ✭ 90 (+542.86%)
Mutual labels:  d3, dataviz
Ngx Charts
📊 Declarative Charting Framework for Angular
Stars: ✭ 4,057 (+28878.57%)
Mutual labels:  d3, dataviz
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 (+8742.86%)
Mutual labels:  d3, dataviz
leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-7.14%)
Mutual labels:  d3, dataviz
ddplot
Create D3 based SVG graphics easily from R
Stars: ✭ 43 (+207.14%)
Mutual labels:  d3, dataviz
Keen Dataviz.js
Data Visualization Charting Library
Stars: ✭ 215 (+1435.71%)
Mutual labels:  d3, dataviz
Flask jsondash
🐍 📊 📈 Build complex dashboards without any front-end code. Use your own endpoints. JSON config only. Ready to go.
Stars: ✭ 3,215 (+22864.29%)
Mutual labels:  d3, dataviz
datalith
Simple, batteries included, components to build beautiful data visualizations
Stars: ✭ 29 (+107.14%)
Mutual labels:  d3, dataviz
Carbon Charts
📊 📈⠀Robust dataviz framework implemented using D3 & typescript
Stars: ✭ 287 (+1950%)
Mutual labels:  d3, dataviz
Treedu
Graphical Disk Usage command for the terminal, using Node.js, d3.js, blessed, and Drawille
Stars: ✭ 10 (-28.57%)
Mutual labels:  d3, dataviz
multi-verse
lit-element components for fast and modular multivariate analysis
Stars: ✭ 34 (+142.86%)
Mutual labels:  d3, dataviz
Eventdrops
A time based / event series interactive visualization using d3.js
Stars: ✭ 1,164 (+8214.29%)
Mutual labels:  d3, dataviz
aws-mlu-explain
Visual, Interactive Articles About Machine Learning: https://mlu-explain.github.io/
Stars: ✭ 46 (+228.57%)
Mutual labels:  d3, dataviz
proteic
Streaming and static data visualization for the modern web.
Stars: ✭ 37 (+164.29%)
Mutual labels:  d3, dataviz
Architecturetree
Draw and share your software architecture without diagramming software. Uses d3.js and Angular.js.
Stars: ✭ 211 (+1407.14%)
Mutual labels:  d3, dataviz
multi-chart
lit-element building blocks for charts and visualization (based on d3.js v5)
Stars: ✭ 24 (+71.43%)
Mutual labels:  d3, dataviz

react-d3-integration Build Status

An example on how to integrate D3 into React.

Basic demo – Bigger demo in our reusable-d3-charts showcase

Why

This approach is inspired by a blog post from Nicolas Hery. It has also been taken for a spin by the folks at sift science.

We find it very suitable to our needs, because it clearly separates concerns between D3 (rendering the chart) and React (managing the data & lifecycle). If you've never used React, you'll still be able to create a nice chart. If you've never used D3, you won't have to worry about it nor SVG when building your React components.

Use this approach if you value the ability to use the chart outside of React and idiomatic D3 code over the performance gains you'll have by using React's virtual DOM for SVG.

Other approaches worth having a look at:

Installation

git clone [email protected]:springload/react-d3-integration.git
cd react-d3-integration
nvm install
npm install

Working on the project

Everything mentioned in the installation process should already be done.

# Use the right node version
nvm use
# Start the server and the development tools.
npm run start
# Builds frontend assets for production.
npm run build
# Runs tests.
npm run test

Deploying the project

# First make sure your master is up to date.
cd react-d3-integration
git fetch --all
git checkout master
git pull
git push origin master
# Then build the project
npm run build
# Follow the instructions in the build command
git commit -am "Save local changes"
git checkout -B gh-pages
git add -f build
git commit -am "Rebuild website"
git filter-branch -f --prune-empty --subdirectory-filter build
git push -f origin gh-pages
git checkout -

Case studies

Disc

npm install -g disc
discify public/bundle.js > disc-report.html
# Voilà! Open the file in your browser.

Here's an example report for this repository.

sitespeed.io

npm install -g sitespeed.io
sitespeed.io -u https://springload.github.io/react-d3-integration/
# You can now open the report that has been generated in sitespeed-result/.

This is an example report for this repository.

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